Enum glfw::MonitorEvent
source · #[repr(i32)]pub enum MonitorEvent {
Connected = 262_145,
Disconnected = 262_146,
}
Expand description
Monitor events.
Variants§
Trait Implementations§
source§impl Clone for MonitorEvent
impl Clone for MonitorEvent
source§fn clone(&self) -> MonitorEvent
fn clone(&self) -> MonitorEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MonitorEvent
impl Debug for MonitorEvent
source§impl Hash for MonitorEvent
impl Hash for MonitorEvent
source§impl Ord for MonitorEvent
impl Ord for MonitorEvent
source§fn cmp(&self, other: &MonitorEvent) -> Ordering
fn cmp(&self, other: &MonitorEvent) -> Ordering
1.21.0 · 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
source§impl PartialEq for MonitorEvent
impl PartialEq for MonitorEvent
source§fn eq(&self, other: &MonitorEvent) -> bool
fn eq(&self, other: &MonitorEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MonitorEvent
impl PartialOrd for MonitorEvent
source§fn partial_cmp(&self, other: &MonitorEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &MonitorEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MonitorEvent
impl Eq for MonitorEvent
impl StructuralPartialEq for MonitorEvent
Auto Trait Implementations§
impl RefUnwindSafe for MonitorEvent
impl Send for MonitorEvent
impl Sync for MonitorEvent
impl Unpin for MonitorEvent
impl UnwindSafe for MonitorEvent
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