Struct raw_window_handle::AppKitWindowHandle
source · #[non_exhaustive]pub struct AppKitWindowHandle {
pub ns_view: NonNull<c_void>,
}
Expand description
Raw window handle for AppKit.
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_view: NonNull<c_void>
A pointer to an NSView
object.
Implementations§
Trait Implementations§
source§impl Clone for AppKitWindowHandle
impl Clone for AppKitWindowHandle
source§fn clone(&self) -> AppKitWindowHandle
fn clone(&self) -> AppKitWindowHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AppKitWindowHandle
impl Debug for AppKitWindowHandle
source§impl From<AppKitWindowHandle> for RawWindowHandle
impl From<AppKitWindowHandle> for RawWindowHandle
source§fn from(value: AppKitWindowHandle) -> Self
fn from(value: AppKitWindowHandle) -> Self
Converts to this type from the input type.
source§impl Hash for AppKitWindowHandle
impl Hash for AppKitWindowHandle
source§impl PartialEq for AppKitWindowHandle
impl PartialEq for AppKitWindowHandle
source§fn eq(&self, other: &AppKitWindowHandle) -> bool
fn eq(&self, other: &AppKitWindowHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AppKitWindowHandle
impl Eq for AppKitWindowHandle
impl StructuralEq for AppKitWindowHandle
impl StructuralPartialEq for AppKitWindowHandle
Auto Trait Implementations§
impl RefUnwindSafe for AppKitWindowHandle
impl !Send for AppKitWindowHandle
impl !Sync for AppKitWindowHandle
impl Unpin for AppKitWindowHandle
impl UnwindSafe for AppKitWindowHandle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more