Struct savory_elements::element::switch::StyleMap[][src]

pub struct StyleMap {
    pub text: Style,
    pub switch: Style,
    pub check_sign: Style,
}

Fields

text: Styleswitch: Stylecheck_sign: Style

Implementations

impl StyleMap[src]

pub fn and_text(self, set_value: impl FnOnce(Style) -> Style) -> Self[src]

pub fn text(self, value: impl Into<Style>) -> Self[src]

pub fn and_switch(self, set_value: impl FnOnce(Style) -> Style) -> Self[src]

pub fn switch(self, value: impl Into<Style>) -> Self[src]

pub fn and_check_sign(self, set_value: impl FnOnce(Style) -> Style) -> Self[src]

pub fn check_sign(self, value: impl Into<Style>) -> Self[src]

Trait Implementations

impl Clone for StyleMap[src]

impl Debug for StyleMap[src]

impl Default for StyleMap[src]

impl PartialEq<StyleMap> for StyleMap[src]

impl StructuralPartialEq for StyleMap[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,