Struct tauri::window::Monitor [−][src]
pub struct Monitor { /* fields omitted */ }
Expand description
Monitor descriptor.
Implementations
Returns a human-readable name of the monitor. Returns None if the monitor doesn’t exist anymore.
Returns the monitor’s resolution.
Returns the top-left corner position of the monitor relative to the larger full screen area.
Returns the scale factor that can be used to map logical pixels to physical pixels, and vice versa.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Monitor
impl UnwindSafe for Monitor
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V