pub enum BoxShadow {
None,
Inherit,
Initial,
Inset,
Unset,
Unit(Unit),
Color(Color),
Customize(Vec<BoxShadow>),
Derive(Vec<BoxShadow>),
}Expand description
Box Shadow
Variants§
None
None Style
Inherit
Inherit Style
Initial
Initial Style
Inset
Inset Style
Unset
Unset Style
Unit(Unit)
Unit
Color(Color)
Color
Customize(Vec<BoxShadow>)
offset-x | offset-y | blur-radius | spread-radius | color
Derive(Vec<BoxShadow>)
Derive BoxShadows
Trait Implementations§
impl Eq for BoxShadow
Source§impl Ord for BoxShadow
impl Ord for BoxShadow
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 PartialOrd for BoxShadow
impl PartialOrd for BoxShadow
impl StructuralPartialEq for BoxShadow
Auto Trait Implementations§
impl Forget for BoxShadow
impl Freeze for BoxShadow
impl Move for BoxShadow
impl RefUnwindSafe for BoxShadow
impl Send for BoxShadow
impl Sync for BoxShadow
impl Unpin for BoxShadow
impl UnsafeUnpin for BoxShadow
impl UnwindSafe for BoxShadow
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