pub struct MonitorId(pub u32);Expand description
Identifier of a connected monitor.
Stable for as long as the monitor stays connected, never reused within a session. See the module docs.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for MonitorId
impl Eq for MonitorId
Source§impl Ord for MonitorId
impl Ord for MonitorId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for MonitorId
impl PartialOrd for MonitorId
impl StructuralPartialEq for MonitorId
Auto Trait Implementations§
impl Freeze for MonitorId
impl RefUnwindSafe for MonitorId
impl Send for MonitorId
impl Sync for MonitorId
impl Unpin for MonitorId
impl UnsafeUnpin for MonitorId
impl UnwindSafe for MonitorId
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