BoxShadowColor

Struct BoxShadowColor 

Source
pub struct BoxShadowColor<T>(pub T)
where
    T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;
Expand description

Tuple Fields§

§0: T

Implementations§

Source§

impl BoxShadowColor<BoxShadowColorValue>

Source

pub fn initial() -> Self

Source

pub fn inherit() -> Self

Source

pub fn revert() -> Self

Source

pub fn revert_layer() -> Self

Source

pub fn unset() -> Self

Source

pub fn current_color() -> Self

Trait Implementations§

Source§

impl AbsoluteColorStorage for BoxShadowColor<BoxShadowColorValue>

Source§

fn absolute_color(value: AbsoluteColor) -> Self
where Self: Sized,

Source§

fn transparent() -> Self
where Self: Sized,

Source§

impl<T> Clone for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self> + Clone,

Source§

fn clone(&self) -> BoxShadowColor<T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ColorStorage for BoxShadowColor<BoxShadowColorValue>

Source§

fn color(value: Color) -> Self
where Self: Sized,

Source§

fn current_color() -> Self
where Self: Sized,

Source§

impl<T> Debug for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self> + Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BoxShadowColor<BoxShadowColorValue>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<T> Display for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self>,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T> From<T> for BoxShadowColor<BoxShadowColorValue>
where T: Into<Color>,

Source§

fn from(value: T) -> Self

Converts to this type from the input type.
Source§

impl<T> From<T> for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self>,

Source§

fn from(value: T) -> Self

Converts to this type from the input type.
Source§

impl HexColorStorage for BoxShadowColor<BoxShadowColorValue>

Source§

fn hex(value: HexColor) -> Self
where Self: Sized,

Source§

impl NamedColorStorage for BoxShadowColor<BoxShadowColorValue>

Source§

fn aliceblue() -> Self
where Self: Sized,

Source§

fn antiquewhite() -> Self
where Self: Sized,

Source§

fn aqua() -> Self
where Self: Sized,

Source§

fn aquamarine() -> Self
where Self: Sized,

Source§

fn azure() -> Self
where Self: Sized,

Source§

fn beige() -> Self
where Self: Sized,

Source§

fn bisque() -> Self
where Self: Sized,

Source§

fn black() -> Self
where Self: Sized,

Source§

fn blanchedalmond() -> Self
where Self: Sized,

Source§

fn blue() -> Self
where Self: Sized,

Source§

fn blueviolet() -> Self
where Self: Sized,

Source§

fn brown() -> Self
where Self: Sized,

Source§

fn burlywood() -> Self
where Self: Sized,

Source§

fn cadetblue() -> Self
where Self: Sized,

Source§

fn chartreuse() -> Self
where Self: Sized,

Source§

fn chocolate() -> Self
where Self: Sized,

Source§

fn coral() -> Self
where Self: Sized,

Source§

fn cornflowerblue() -> Self
where Self: Sized,

Source§

fn cornsilk() -> Self
where Self: Sized,

Source§

fn crimson() -> Self
where Self: Sized,

Source§

fn cyan() -> Self
where Self: Sized,

Source§

fn darkblue() -> Self
where Self: Sized,

Source§

fn darkcyan() -> Self
where Self: Sized,

Source§

fn darkgoldenrod() -> Self
where Self: Sized,

Source§

fn darkgray() -> Self
where Self: Sized,

Source§

fn darkgreen() -> Self
where Self: Sized,

Source§

fn darkgrey() -> Self
where Self: Sized,

Source§

fn darkkhaki() -> Self
where Self: Sized,

Source§

fn darkmagenta() -> Self
where Self: Sized,

Source§

fn darkolivegreen() -> Self
where Self: Sized,

Source§

fn darkorange() -> Self
where Self: Sized,

Source§

fn darkorchid() -> Self
where Self: Sized,

Source§

fn darkred() -> Self
where Self: Sized,

Source§

fn darksalmon() -> Self
where Self: Sized,

Source§

fn darkseagreen() -> Self
where Self: Sized,

Source§

fn darkslateblue() -> Self
where Self: Sized,

Source§

fn darkslategray() -> Self
where Self: Sized,

Source§

fn darkslategrey() -> Self
where Self: Sized,

Source§

fn darkturquoise() -> Self
where Self: Sized,

Source§

fn darkviolet() -> Self
where Self: Sized,

Source§

fn deeppink() -> Self
where Self: Sized,

Source§

fn deepskyblue() -> Self
where Self: Sized,

Source§

fn dimgray() -> Self
where Self: Sized,

Source§

fn dimgrey() -> Self
where Self: Sized,

Source§

fn dodgerblue() -> Self
where Self: Sized,

Source§

fn firebrick() -> Self
where Self: Sized,

Source§

fn floralwhite() -> Self
where Self: Sized,

Source§

fn forestgreen() -> Self
where Self: Sized,

Source§

fn fuchsia() -> Self
where Self: Sized,

Source§

fn gainsboro() -> Self
where Self: Sized,

Source§

fn ghostwhite() -> Self
where Self: Sized,

Source§

fn gold() -> Self
where Self: Sized,

Source§

fn goldenrod() -> Self
where Self: Sized,

Source§

fn gray() -> Self
where Self: Sized,

Source§

fn green() -> Self
where Self: Sized,

Source§

fn greenyellow() -> Self
where Self: Sized,

Source§

fn grey() -> Self
where Self: Sized,

Source§

fn honeydew() -> Self
where Self: Sized,

Source§

fn hotpink() -> Self
where Self: Sized,

Source§

fn indianred() -> Self
where Self: Sized,

Source§

fn indigo() -> Self
where Self: Sized,

Source§

fn ivory() -> Self
where Self: Sized,

Source§

fn khaki() -> Self
where Self: Sized,

Source§

fn lavender() -> Self
where Self: Sized,

Source§

fn lavenderblush() -> Self
where Self: Sized,

Source§

fn lawngreen() -> Self
where Self: Sized,

Source§

fn lemonchiffon() -> Self
where Self: Sized,

Source§

fn lightblue() -> Self
where Self: Sized,

Source§

fn lightcoral() -> Self
where Self: Sized,

Source§

fn lightcyan() -> Self
where Self: Sized,

Source§

fn lightgoldenrodyellow() -> Self
where Self: Sized,

Source§

fn lightgray() -> Self
where Self: Sized,

Source§

fn lightgreen() -> Self
where Self: Sized,

Source§

fn lightgrey() -> Self
where Self: Sized,

Source§

fn lightpink() -> Self
where Self: Sized,

Source§

fn lightsalmon() -> Self
where Self: Sized,

Source§

fn lightseagreen() -> Self
where Self: Sized,

Source§

fn lightskyblue() -> Self
where Self: Sized,

Source§

fn lightslategray() -> Self
where Self: Sized,

Source§

fn lightslategrey() -> Self
where Self: Sized,

Source§

fn lightsteelblue() -> Self
where Self: Sized,

Source§

fn lightyellow() -> Self
where Self: Sized,

Source§

fn lime() -> Self
where Self: Sized,

Source§

fn limegreen() -> Self
where Self: Sized,

Source§

fn linen() -> Self
where Self: Sized,

Source§

fn magenta() -> Self
where Self: Sized,

Source§

fn maroon() -> Self
where Self: Sized,

Source§

fn mediumaquamarine() -> Self
where Self: Sized,

Source§

fn mediumblue() -> Self
where Self: Sized,

Source§

fn mediumorchid() -> Self
where Self: Sized,

Source§

fn mediumpurple() -> Self
where Self: Sized,

Source§

fn mediumseagreen() -> Self
where Self: Sized,

Source§

fn mediumslateblue() -> Self
where Self: Sized,

Source§

fn mediumspringgreen() -> Self
where Self: Sized,

Source§

fn mediumturquoise() -> Self
where Self: Sized,

Source§

fn mediumvioletred() -> Self
where Self: Sized,

Source§

fn midnightblue() -> Self
where Self: Sized,

Source§

fn mintcream() -> Self
where Self: Sized,

Source§

fn mistyrose() -> Self
where Self: Sized,

Source§

fn moccasin() -> Self
where Self: Sized,

Source§

fn navajowhite() -> Self
where Self: Sized,

Source§

fn navy() -> Self
where Self: Sized,

Source§

fn oldlace() -> Self
where Self: Sized,

Source§

fn olive() -> Self
where Self: Sized,

Source§

fn olivedrab() -> Self
where Self: Sized,

Source§

fn orange() -> Self
where Self: Sized,

Source§

fn orangered() -> Self
where Self: Sized,

Source§

fn orchid() -> Self
where Self: Sized,

Source§

fn palegoldenrod() -> Self
where Self: Sized,

Source§

fn palegreen() -> Self
where Self: Sized,

Source§

fn paleturquoise() -> Self
where Self: Sized,

Source§

fn palevioletred() -> Self
where Self: Sized,

Source§

fn papayawhip() -> Self
where Self: Sized,

Source§

fn peachpuff() -> Self
where Self: Sized,

Source§

fn peru() -> Self
where Self: Sized,

Source§

fn pink() -> Self
where Self: Sized,

Source§

fn plum() -> Self
where Self: Sized,

Source§

fn powderblue() -> Self
where Self: Sized,

Source§

fn purple() -> Self
where Self: Sized,

Source§

fn rebeccapurple() -> Self
where Self: Sized,

Source§

fn red() -> Self
where Self: Sized,

Source§

fn rosybrown() -> Self
where Self: Sized,

Source§

fn royalblue() -> Self
where Self: Sized,

Source§

fn saddlebrown() -> Self
where Self: Sized,

Source§

fn salmon() -> Self
where Self: Sized,

Source§

fn sandybrown() -> Self
where Self: Sized,

Source§

fn seagreen() -> Self
where Self: Sized,

Source§

fn seashell() -> Self
where Self: Sized,

Source§

fn sienna() -> Self
where Self: Sized,

Source§

fn silver() -> Self
where Self: Sized,

Source§

fn skyblue() -> Self
where Self: Sized,

Source§

fn slateblue() -> Self
where Self: Sized,

Source§

fn slategray() -> Self
where Self: Sized,

Source§

fn slategrey() -> Self
where Self: Sized,

Source§

fn snow() -> Self
where Self: Sized,

Source§

fn springgreen() -> Self
where Self: Sized,

Source§

fn steelblue() -> Self
where Self: Sized,

Source§

fn tan() -> Self
where Self: Sized,

Source§

fn teal() -> Self
where Self: Sized,

Source§

fn thistle() -> Self
where Self: Sized,

Source§

fn tomato() -> Self
where Self: Sized,

Source§

fn turquoise() -> Self
where Self: Sized,

Source§

fn violet() -> Self
where Self: Sized,

Source§

fn wheat() -> Self
where Self: Sized,

Source§

fn white() -> Self
where Self: Sized,

Source§

fn whitesmoke() -> Self
where Self: Sized,

Source§

fn yellow() -> Self
where Self: Sized,

Source§

fn yellowgreen() -> Self
where Self: Sized,

Source§

impl OklchStorage for BoxShadowColor<BoxShadowColorValue>

Source§

fn oklch(value: Oklch) -> Self
where Self: Sized,

Source§

impl<T> PartialEq for BoxShadowColor<T>

Source§

fn eq(&self, other: &BoxShadowColor<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T> Property for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self>,

Source§

fn declaration(&self) -> String

Returns the stringified property name with its value as a CSS declaration to be used within a declaration block. Read more
Source§

impl<T> PropertyName for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self>,

Source§

fn property_name<'a>(&self) -> &'a str

Source§

impl SystemColorStorage for BoxShadowColor<BoxShadowColorValue>

Source§

fn canvas() -> Self
where Self: Sized,

Source§

fn canvas_text() -> Self
where Self: Sized,

Source§

fn visited_text() -> Self
where Self: Sized,

Source§

fn active_text() -> Self
where Self: Sized,

Source§

fn button_face() -> Self
where Self: Sized,

Source§

fn button_text() -> Self
where Self: Sized,

Source§

fn button_border() -> Self
where Self: Sized,

Source§

fn field() -> Self
where Self: Sized,

Source§

fn field_text() -> Self
where Self: Sized,

Source§

fn highlight() -> Self
where Self: Sized,

Source§

fn highlight_text() -> Self
where Self: Sized,

Source§

fn selected_item() -> Self
where Self: Sized,

Source§

fn selected_item_text() -> Self
where Self: Sized,

Source§

fn mark() -> Self
where Self: Sized,

Source§

fn mark_text() -> Self
where Self: Sized,

Source§

fn gray_text() -> Self
where Self: Sized,

Source§

fn accent_color() -> Self
where Self: Sized,

Source§

fn accent_color_text() -> Self
where Self: Sized,

Source§

impl AbsoluteColorFunctionStorage for BoxShadowColor<BoxShadowColorValue>

Source§

impl<T> StructuralPartialEq for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self>,

Source§

impl UnitDataType<BoxShadowColor<BoxShadowColorValue>> for BoxShadowColorValue

Source§

impl UnitDataType<BoxShadowColor<Nothing>> for Nothing

Source§

impl<T> UnitDataType<BoxShadowColor<Var<T>>> for Var<T>

Source§

impl<T> UnitDataTypeContainer<T> for BoxShadowColor<T>
where T: Clone + Debug + Display + PartialEq + UnitDataType<Self>,

Auto Trait Implementations§

§

impl<T> Freeze for BoxShadowColor<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for BoxShadowColor<T>
where T: RefUnwindSafe,

§

impl<T> Send for BoxShadowColor<T>
where T: Send,

§

impl<T> Sync for BoxShadowColor<T>
where T: Sync,

§

impl<T> Unpin for BoxShadowColor<T>
where T: Unpin,

§

impl<T> UnwindSafe for BoxShadowColor<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.