pub struct Monitor {
pub name: String,
pub is_primary: bool,
pub is_automatic: bool,
pub x: i32,
pub y: i32,
pub width_px: i32,
pub height_px: i32,
pub width_mm: i32,
pub height_mm: i32,
pub outputs: Vec<Output>,
}
Fields§
§name: String
§is_primary: bool
§is_automatic: bool
§x: i32
§y: i32
§width_px: i32
§height_px: i32
§width_mm: i32
§height_mm: i32
§outputs: Vec<Output>
An Output describes an actual physical monitor or display. A Monitor
can have more than one output.
Trait Implementations§
Auto Trait Implementations§
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