Struct basalt::interface::on_off_button::OnOffButtonTheme[][src]

pub struct OnOffButtonTheme {
    pub color1: Color,
    pub color2: Color,
    pub color3: Color,
    pub color4: Color,
    pub color5: Color,
}

Fields

color1: Color

Color of the container when off

color2: Color

Color of the container when on

color3: Color

Color of the inner slidy bit

color4: Color

Color of the off text color

color5: Color

Color of the on text color

Trait Implementations

impl Clone for OnOffButtonTheme[src]

impl Debug for OnOffButtonTheme[src]

impl Default for OnOffButtonTheme[src]

impl PartialEq<OnOffButtonTheme> for OnOffButtonTheme[src]

impl StructuralPartialEq for OnOffButtonTheme[src]

Auto Trait Implementations

Blanket Implementations

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> Content for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.