Struct oxygengine_user_interface::raui::material::theme::ThemeProps[][src]

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

Fields

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

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 Prefab for ThemeProps[src]

impl PropsData for ThemeProps where
    ThemeProps: Clone
[src]

impl Serialize for ThemeProps[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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> Event for T where
    T: Send + Sync + 'static, 

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

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

impl<T> Resource for T where
    T: Any, 

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryDefault for T where
    T: Default

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.