pub struct Monitor {
pub name: Option<String>,
pub primary: bool,
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
pub width_in_millimeters: u32,
pub height_in_millimeters: u32,
}Expand description
Description of a monitor.
Fields§
§name: Option<String>§primary: bool§x: i16§y: i16§width: u16§height: u16§width_in_millimeters: u32§height_in_millimeters: u32Trait Implementations§
Source§impl Ord for Monitor
impl Ord for Monitor
Source§impl PartialOrd for Monitor
impl PartialOrd for Monitor
impl Eq for Monitor
impl StructuralPartialEq for Monitor
Auto Trait Implementations§
impl Freeze for Monitor
impl RefUnwindSafe for Monitor
impl Send for Monitor
impl Sync for Monitor
impl Unpin for Monitor
impl UnwindSafe for Monitor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more