Struct raw_window_handle::AppKitHandle
source · [−]Expand description
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ns_window: *mut c_void
A pointer to an NSWindow
object.
ns_view: *mut c_void
A pointer to an NSView
object.
Implementations
sourceimpl AppKitHandle
impl AppKitHandle
Trait Implementations
sourceimpl Clone for AppKitHandle
impl Clone for AppKitHandle
sourcefn clone(&self) -> AppKitHandle
fn clone(&self) -> AppKitHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AppKitHandle
impl Debug for AppKitHandle
sourceimpl Hash for AppKitHandle
impl Hash for AppKitHandle
sourceimpl PartialEq<AppKitHandle> for AppKitHandle
impl PartialEq<AppKitHandle> for AppKitHandle
sourcefn eq(&self, other: &AppKitHandle) -> bool
fn eq(&self, other: &AppKitHandle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AppKitHandle) -> bool
fn ne(&self, other: &AppKitHandle) -> bool
This method tests for !=
.
impl Copy for AppKitHandle
impl Eq for AppKitHandle
impl StructuralEq for AppKitHandle
impl StructuralPartialEq for AppKitHandle
Auto Trait Implementations
impl RefUnwindSafe for AppKitHandle
impl !Send for AppKitHandle
impl !Sync for AppKitHandle
impl Unpin for AppKitHandle
impl UnwindSafe for AppKitHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more