#[non_exhaustive]pub enum OverlayLayer {
Tooltip,
Popup,
Menu,
DragPreview,
Modal,
System,
}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§
Source§impl Clone for OverlayLayer
impl Clone for OverlayLayer
impl Copy for OverlayLayer
Source§impl Debug for OverlayLayer
impl Debug for OverlayLayer
impl Eq for OverlayLayer
Source§impl Ord for OverlayLayer
impl Ord for OverlayLayer
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 PartialEq for OverlayLayer
impl PartialEq for OverlayLayer
Source§impl PartialOrd for OverlayLayer
impl PartialOrd for OverlayLayer
impl StructuralPartialEq for OverlayLayer
Auto Trait Implementations§
impl Freeze for OverlayLayer
impl RefUnwindSafe for OverlayLayer
impl Send for OverlayLayer
impl Sync for OverlayLayer
impl Unpin for OverlayLayer
impl UnsafeUnpin for OverlayLayer
impl UnwindSafe for OverlayLayer
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