Enum winit::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

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

Win32 uses a Unicode string to represent a monitor.

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

Trait Implementations

impl Clone for NativeMonitorId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for NativeMonitorId
[src]

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

This method tests for !=.

impl Eq for NativeMonitorId
[src]