#[repr(u16)]pub enum NativeParentKind {
AppKit = 1,
Win32 = 2,
X11 = 3,
Android = 4,
UIKit = 5,
}Expand description
What kind of handle a window gives its platform views to be made against.
Variants§
AppKit = 1
The NSView* of a macOS window’s content.
Win32 = 2
A Windows top-level HWND.
X11 = 3
An X11 window id.
Android = 4
An Android view.
UIKit = 5
The UIView* of an iOS window’s content.
Trait Implementations§
Source§impl Clone for NativeParentKind
impl Clone for NativeParentKind
impl Copy for NativeParentKind
Source§impl Debug for NativeParentKind
impl Debug for NativeParentKind
impl Eq for NativeParentKind
Source§impl PartialEq for NativeParentKind
impl PartialEq for NativeParentKind
impl StructuralPartialEq for NativeParentKind
Auto Trait Implementations§
impl Forget for NativeParentKind
impl Freeze for NativeParentKind
impl Move for NativeParentKind
impl RefUnwindSafe for NativeParentKind
impl Send for NativeParentKind
impl Sync for NativeParentKind
impl Unpin for NativeParentKind
impl UnsafeUnpin for NativeParentKind
impl UnwindSafe for NativeParentKind
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