A position 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::Position 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::Position
A position represented either in physical or in logical pixels.
This type is basically a union type of
LogicalSize
andPhysicalSize
but comes in handy when usingtauri::Position
in Rust as an argument to a command, as this class automatically serializes into a valid format so it can be deserialized correctly intotauri::Position
So instead of
You can just use
Position
Since
2.1.0