pub enum DropShadow {
Show 30 variants
None,
Sm,
Default,
Md,
Lg,
Xl,
Xl2,
Xl3,
Red,
Blue,
Green,
Yellow,
Purple,
Pink,
Orange,
Indigo,
Cyan,
Teal,
Lime,
Emerald,
Rose,
Violet,
Fuchsia,
Sky,
Amber,
Stone,
Neutral,
Zinc,
Gray,
Slate,
}
Expand description
Drop shadow values
Variants§
None
No shadow
Sm
Small shadow
Default
Default shadow
Md
Medium shadow
Lg
Large shadow
Xl
Extra large shadow
Xl2
2x large shadow
Xl3
3x large shadow
Red
Red drop shadow
Blue
Blue drop shadow
Green
Green drop shadow
Yellow
Yellow drop shadow
Purple
Purple drop shadow
Pink
Pink drop shadow
Orange
Orange drop shadow
Indigo
Indigo drop shadow
Cyan
Cyan drop shadow
Teal
Teal drop shadow
Lime
Lime drop shadow
Emerald
Emerald drop shadow
Rose
Rose drop shadow
Violet
Violet drop shadow
Fuchsia
Fuchsia drop shadow
Sky
Sky drop shadow
Amber
Amber drop shadow
Stone
Stone drop shadow
Neutral
Neutral drop shadow
Zinc
Zinc drop shadow
Gray
Gray drop shadow
Slate
Slate drop shadow
Implementations§
Source§impl DropShadow
impl DropShadow
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
Trait Implementations§
Source§impl Clone for DropShadow
impl Clone for DropShadow
Source§fn clone(&self) -> DropShadow
fn clone(&self) -> DropShadow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DropShadow
impl Debug for DropShadow
Source§impl<'de> Deserialize<'de> for DropShadow
impl<'de> Deserialize<'de> for DropShadow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DropShadow
impl Display for DropShadow
Source§impl Hash for DropShadow
impl Hash for DropShadow
Source§impl PartialEq for DropShadow
impl PartialEq for DropShadow
Source§impl Serialize for DropShadow
impl Serialize for DropShadow
impl Copy for DropShadow
impl Eq for DropShadow
impl StructuralPartialEq for DropShadow
Auto Trait Implementations§
impl Freeze for DropShadow
impl RefUnwindSafe for DropShadow
impl Send for DropShadow
impl Sync for DropShadow
impl Unpin for DropShadow
impl UnwindSafe for DropShadow
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.