Enum sierra::RawWindowHandleKind
source · #[non_exhaustive]
pub enum RawWindowHandleKind {
UiKit,
AppKit,
Xlib,
Xcb,
Wayland,
Win32,
WinRt,
Web,
Android,
Unknown,
}
Expand description
Kind of raw window handles
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
source§impl RawWindowHandleKind
impl RawWindowHandleKind
sourcepub fn of(window: &RawWindowHandle) -> Self
pub fn of(window: &RawWindowHandle) -> Self
Returns kind of the raw window handle.
Trait Implementations§
source§impl Clone for RawWindowHandleKind
impl Clone for RawWindowHandleKind
source§fn clone(&self) -> RawWindowHandleKind
fn clone(&self) -> RawWindowHandleKind
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 RawWindowHandleKind
impl Debug for RawWindowHandleKind
source§impl PartialEq<RawWindowHandleKind> for RawWindowHandleKind
impl PartialEq<RawWindowHandleKind> for RawWindowHandleKind
source§fn eq(&self, other: &RawWindowHandleKind) -> bool
fn eq(&self, other: &RawWindowHandleKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.