pub enum RawWindowHandle {
AppKit(*mut c_void),
Win32(*mut c_void),
X11(u64),
Other(*mut c_void),
}Expand description
Raw platform window handle for GUI parenting.
Variants§
AppKit(*mut c_void)
Win32(*mut c_void)
X11(u64)
Other(*mut c_void)
Wayland / other — opaque for now.
Trait Implementations§
Source§impl Clone for RawWindowHandle
impl Clone for RawWindowHandle
Source§fn clone(&self) -> RawWindowHandle
fn clone(&self) -> RawWindowHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RawWindowHandle
Source§impl Debug for RawWindowHandle
impl Debug for RawWindowHandle
impl Send for RawWindowHandle
Auto Trait Implementations§
impl !Sync for RawWindowHandle
impl Forget for RawWindowHandle
impl Freeze for RawWindowHandle
impl RefUnwindSafe for RawWindowHandle
impl Unpin for RawWindowHandle
impl UnsafeUnpin for RawWindowHandle
impl UnwindSafe for RawWindowHandle
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