Struct raui_material::theme::ThemeProps[][src]

pub struct ThemeProps {
    pub active_colors: ThemeColorsBundle,
    pub background_colors: ThemeColorsBundle,
    pub content_backgrounds: HashMap<String, ThemedImageMaterial>,
    pub button_backgrounds: HashMap<String, ThemedButtonMaterial>,
    pub icons_level_sizes: Vec<Scalar>,
    pub text_variants: HashMap<String, ThemedTextMaterial>,
    pub switch_variants: HashMap<String, ThemedSwitchMaterial>,
}

Fields

active_colors: ThemeColorsBundlebackground_colors: ThemeColorsBundlecontent_backgrounds: HashMap<String, ThemedImageMaterial>button_backgrounds: HashMap<String, ThemedButtonMaterial>icons_level_sizes: Vec<Scalar>text_variants: HashMap<String, ThemedTextMaterial>switch_variants: HashMap<String, ThemedSwitchMaterial>

Trait Implementations

impl Clone for ThemeProps[src]

impl Debug for ThemeProps[src]

impl Default for ThemeProps[src]

impl<'de> Deserialize<'de> for ThemeProps[src]

impl PropsData for ThemeProps where
    Self: Clone
[src]

impl Serialize for ThemeProps[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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.