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

pub trait WindowExt {
    fn get_nswindow(&self) -> *mut c_void;
fn get_nsview(&self) -> *mut c_void; }

Additional methods on Window that are specific to MacOS.

Required Methods

Returns a pointer to the cocoa NSWindow that is used by this window.

The pointer will become invalid when the Window is destroyed.

Returns a pointer to the cocoa NSView that is used by this window.

The pointer will become invalid when the Window is destroyed.

Implementors