Enum glfw::MonitorEvent
source · #[repr(i32)]
pub enum MonitorEvent {
Connected,
Disconnected,
}
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<MonitorEvent> for MonitorEvent
impl PartialEq<MonitorEvent> 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<MonitorEvent> for MonitorEvent
impl PartialOrd<MonitorEvent> 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 more