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

pub struct SwitchLens<'lens> {
    pub style: &'lens Style,
    pub toggled: bool,
    pub disabled: bool,
    pub focused: bool,
    pub mouse_over: bool,
    pub color: Option<Color>,
    pub checkbox_like: bool,
}

Fields

style: &'lens Styletoggled: booldisabled: boolfocused: boolmouse_over: boolcolor: Option<Color>checkbox_like: bool

Auto Trait Implementations

impl<'lens> RefUnwindSafe for SwitchLens<'lens>

impl<'lens> Send for SwitchLens<'lens>

impl<'lens> Sync for SwitchLens<'lens>

impl<'lens> Unpin for SwitchLens<'lens>

impl<'lens> UnwindSafe for SwitchLens<'lens>

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, 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>,