Skip to main content

MonitorHandleExtMacOS

Trait MonitorHandleExtMacOS 

Source
pub trait MonitorHandleExtMacOS {
    // Required method
    fn ns_screen(&self) -> Option<*mut c_void>;
}
Expand description

Additional methods on MonitorHandle that are specific to MacOS.

Required Methods§

Source

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

Returns a pointer to the NSScreen representing this monitor.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl MonitorHandleExtMacOS for MonitorHandle

Implementors§