#[non_exhaustive]pub enum Layer {
Background,
Bottom,
Top,
Overlay,
EntryNumber,
}
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.
Background
The background layer.
Bottom
The bottom layer.
Top
The top layer.
Overlay
The overlay layer.
EntryNumber
Should not be used except to get the number of entries. (NOTE: may change in future releases as more entries are added)
Trait Implementations§
Source§impl Ord for Layer
impl Ord for Layer
Source§impl PartialOrd for Layer
impl PartialOrd for Layer
impl Copy for Layer
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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