#[non_exhaustive]pub enum PlaneType {
Primary,
Overlay,
Cursor,
}Expand description
The kernel’s plane type.
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.
Trait Implementations§
impl Copy for PlaneType
impl Eq for PlaneType
Source§impl Ord for PlaneType
impl Ord for PlaneType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PlaneType
impl PartialOrd for PlaneType
impl StructuralPartialEq for PlaneType
Auto Trait Implementations§
impl Freeze for PlaneType
impl RefUnwindSafe for PlaneType
impl Send for PlaneType
impl Sync for PlaneType
impl Unpin for PlaneType
impl UnsafeUnpin for PlaneType
impl UnwindSafe for PlaneType
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