[][src]Struct raw_window_handle::macos::MacOSHandle

pub struct MacOSHandle {
    pub ns_window: *mut c_void,
    pub ns_view: *mut c_void,
    // some fields omitted
}
This is supported on macOS only.

Raw window handle for macOS.

Construction

let handle = MacOSHandle {
    /* fields */
    ..MacOSHandle::empty()
};

Fields

ns_window: *mut c_void
This is supported on macOS only.
ns_view: *mut c_void
This is supported on macOS only.

Methods

impl MacOSHandle[src]

pub fn empty() -> MacOSHandle[src]

This is supported on macOS only.

Trait Implementations

impl Debug for MacOSHandle[src]

impl PartialEq<MacOSHandle> for MacOSHandle[src]

impl Eq for MacOSHandle[src]

impl Hash for MacOSHandle[src]

impl Copy for MacOSHandle[src]

impl StructuralPartialEq for MacOSHandle[src]

impl StructuralEq for MacOSHandle[src]

impl Clone for MacOSHandle[src]

Auto Trait Implementations

impl Unpin for MacOSHandle

impl !Send for MacOSHandle

impl !Sync for MacOSHandle

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]