A size represented either in physical or in logical pixels.
This type is basically a union type of LogicalSize and PhysicalSize
but comes in handy when using tauri::Size in Rust as an argument to a command, as this class
automatically serializes into a valid format so it can be deserialized correctly into tauri::Size
A size represented either in physical or in logical pixels.
This type is basically a union type of
LogicalSize
andPhysicalSize
but comes in handy when usingtauri::Size
in Rust as an argument to a command, as this class automatically serializes into a valid format so it can be deserialized correctly intotauri::Size
So instead of
You can just use
Size
Since
2.1.0