pub enum Elevation {
Level0,
Level1,
Level2,
Level3,
Level4,
Level5,
}Expand description
The six Material elevation levels. The renderer supplies the shadow.
Variants§
Level0
Resting elevation (0 dp, default).
Level1
Low elevation (1 dp).
Level2
Medium-low elevation (3 dp).
Level3
Medium elevation (6 dp).
Level4
Medium-high elevation (8 dp).
Level5
Highest elevation (12 dp).
Implementations§
Trait Implementations§
impl Copy for Elevation
impl Eq for Elevation
impl StructuralPartialEq for Elevation
Auto Trait Implementations§
impl Forget for Elevation
impl Freeze for Elevation
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.