fn raw_window_handle(&self) -> RawWindowHandle {
        use objc::{msg_send, sel, sel_impl};
        use objc::runtime::Object;
        use raw_window_handle::macos::MacOSHandle;
        let handle = self.0.raw_window_handle();
        match handle {
            RawWindowHandle::MacOS(macos_handle) => {
                RawWindowHandle::MacOS(MacOSHandle {
                    ns_window: macos_handle.ns_window,
                    ns_view: unsafe { msg_send![macos_handle.ns_window as *mut Object, contentView] },
                    ..MacOSHandle::empty()
                })
            }
            _ => unreachable!()
        }
    }
/// do some work on macOS to get the root NSView for the NSWindow returned by sdl2
do some work on macOS to get the root NSView for the NSWindow returned by sdl2
do some work on macOS to get the root NSView for the NSWindow returned by sdl2
fn raw_window_handle(&self) -> RawWindowHandle {
        use objc::{msg_send, sel, sel_impl};
        use objc::runtime::Object;
        use raw_window_handle::macos::MacOSHandle;
        let handle = self.0.raw_window_handle();
        match handle {
            RawWindowHandle::MacOS(macos_handle) => {
                RawWindowHandle::MacOS(MacOSHandle {
                    ns_window: macos_handle.ns_window,
                    ns_view: unsafe { msg_send![macos_handle.ns_window as *mut Object, contentView] },
                    ..MacOSHandle::empty()
                })
            }
            _ => unreachable!()
        }
    }
fn raw_window_handle ( & self ) -> RawWindowHandle { use objc :: { msg_send , sel , sel_impl } ; use objc :: runtime :: Object ; use raw_window_handle :: macos :: MacOSHandle ; let handle = self . 0 . raw_window_handle ( ) ; match handle { RawWindowHandle :: MacOS ( macos_handle ) => { RawWindowHandle :: MacOS ( MacOSHandle { ns_window : macos_handle . ns_window , ns_view : unsafe { msg_send ! [ macos_handle ns_window as mut Object contentView ] } , .. MacOSHandle :: empty ( ) } ) } _ => unreachable ! ( ) } }
do some work on macOS to get the root NSView for the NSWindow returned by sdl2
do some work on macOS to get the root NSView for the NSWindow returned by sdl2
&self
&self