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

Cocoa and X11 use a numeric identifier to represent a monitor.

Name

Win32 uses a Unicode string to represent a monitor.

Unavailable

Other platforms (Android) don't support monitor identification.

Trait Implementations

Derived Implementations

impl Eq for NativeMonitorId

fn assert_receiver_is_total_eq(&self)

impl PartialEq for NativeMonitorId

fn eq(&self, __arg_0: &NativeMonitorId) -> bool

fn ne(&self, __arg_0: &NativeMonitorId) -> bool