Enum rovr::HmdDisplayId [-] [+] [src]

pub enum HmdDisplayId {
    Numeric(u32),
    Name(String),
    Unavailable,
}

Platform-specific identifier for the OS display representing an Hmd.

Variants

Numeric

On OS X, this value is the display ID as it would be returned from CGGetActiveDisplayList.

Name

On Windows, this value is the device name as would be reported by EnumDisplayDevices.

Unavailable

On other platforms, a native identifier for this monitor is not reported by the SDK.

Trait Implementations

impl PartialEq<NativeMonitorId> for HmdDisplayId

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

fn ne(&self, other: &Rhs) -> bool

Derived Implementations

impl PartialEq for HmdDisplayId

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

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

impl Eq for HmdDisplayId

fn assert_receiver_is_total_eq(&self)

impl Debug for HmdDisplayId

fn fmt(&self, __arg_0: &mut Formatter) -> Result