Enum tauri_runtime::window::dpi::Position [−][src]
pub enum Position {
Physical(PhysicalPosition<i32>),
Logical(LogicalPosition<f64>),
}
Expand description
A position that’s either physical or logical.
Variants
Physical position.
Tuple Fields of Physical
0: PhysicalPosition<i32>
Logical position.
Tuple Fields of Logical
0: LogicalPosition<f64>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Position
impl UnwindSafe for Position
Blanket Implementations
Mutably borrows from an owned value. Read more