#[non_exhaustive]pub enum Elevation {
Blurred,
Focused,
}Expand description
How much shadow a window casts.
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.
Blurred
Unfocused: the same blur at 70% of the theme’s shadow alpha, so the focused window reads as nearer.
Focused
Focused.
Trait Implementations§
impl Copy for Elevation
impl Eq for Elevation
impl StructuralPartialEq for Elevation
Auto Trait Implementations§
impl Freeze for Elevation
impl RefUnwindSafe for Elevation
impl Send for Elevation
impl Sync for Elevation
impl Unpin for Elevation
impl UnsafeUnpin for Elevation
impl UnwindSafe for Elevation
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