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
LogicalSizeandPhysicalSizebut comes in handy when usingtauri::Positionin Rust as an argument to a command, as this class automatically serializes into a valid format so it can be deserialized correctly intotauri::PositionSo instead of
You can just use
PositionSince
2.1.0