[][src]Trait winit::os::macos::MonitorIdExt

pub trait MonitorIdExt {
    fn native_id(&self) -> u32;
fn get_nsscreen(&self) -> Option<*mut c_void>; }

Additional methods on MonitorId that are specific to MacOS.

Required methods

fn native_id(&self) -> u32

Returns the identifier of the monitor for Cocoa.

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

Returns a pointer to the NSScreen representing this monitor.

Loading content...

Implementors

impl MonitorIdExt for MonitorId[src]

Loading content...