Enum sierra::RawDisplayHandleKind
source · #[non_exhaustive]
pub enum RawDisplayHandleKind {
UiKit,
AppKit,
Xlib,
Xcb,
Wayland,
Windows,
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 RawDisplayHandleKind
impl RawDisplayHandleKind
sourcepub fn of(window: &RawDisplayHandle) -> Self
pub fn of(window: &RawDisplayHandle) -> Self
Returns kind of the raw window handle.
Trait Implementations§
source§impl Clone for RawDisplayHandleKind
impl Clone for RawDisplayHandleKind
source§fn clone(&self) -> RawDisplayHandleKind
fn clone(&self) -> RawDisplayHandleKind
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 RawDisplayHandleKind
impl Debug for RawDisplayHandleKind
source§impl PartialEq<RawDisplayHandleKind> for RawDisplayHandleKind
impl PartialEq<RawDisplayHandleKind> for RawDisplayHandleKind
source§fn eq(&self, other: &RawDisplayHandleKind) -> bool
fn eq(&self, other: &RawDisplayHandleKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.