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.

Unavailable

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

Trait Implementations

impl Eq for NativeMonitorId
[src]

impl PartialEq for NativeMonitorId
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl Clone for NativeMonitorId
[src]

fn clone(&self) -> NativeMonitorId

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more