Trait glutin::os::macos::MonitorIdExt

source ·
pub trait MonitorIdExt {
    // Required methods
    fn native_id(&self) -> u32;
    fn get_nsscreen(&self) -> Option<*mut c_void>;
}
Expand description

Additional methods on MonitorId that are specific to MacOS.

Required Methods§

source

fn native_id(&self) -> u32

Returns the identifier of the monitor for Cocoa.

source

fn get_nsscreen(&self) -> Option<*mut c_void>

Returns a pointer to the NSScreen representing this monitor.

Implementors§