Enum glutin::NativeMonitorId
[−]
[src]
pub enum NativeMonitorId {
Numeric(u32),
Name(String),
Unavailable,
}Native platform identifier for a monitor. Different platforms use fundamentally different types to represent a monitor ID.
Variants
Numeric(u32)Cocoa and X11 use a numeric identifier to represent a monitor.
Name(String)Win32 uses a Unicode string to represent a monitor.
Other platforms (Android) don't support monitor identification.
Trait Implementations
impl Clone for NativeMonitorId[src]
fn clone(&self) -> NativeMonitorId[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for NativeMonitorId[src]
impl PartialEq<NativeMonitorId> for NativeMonitorId[src]
fn eq(&self, __arg_0: &NativeMonitorId) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &NativeMonitorId) -> bool[src]
This method tests for !=.