pub struct Shadows {
pub none: ShadowLayer,
pub sm: ShadowLayer,
pub md: ShadowLayer,
pub lg: ShadowLayer,
}Expand description
Named elevation levels, each expressed as a ShadowLayer.
Fields§
§none: ShadowLayerNo shadow (elevation 0).
sm: ShadowLayerSubtle shadow (elevation 1).
md: ShadowLayerMedium shadow (elevation 2).
lg: ShadowLayerPronounced shadow (elevation 3).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shadows
impl RefUnwindSafe for Shadows
impl Send for Shadows
impl Sync for Shadows
impl Unpin for Shadows
impl UnsafeUnpin for Shadows
impl UnwindSafe for Shadows
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