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>,
pub modal_shadow_variants: HashMap<String, Color>,
}Fields
active_colors: ThemeColorsBundlebackground_colors: ThemeColorsBundlecontent_backgrounds: HashMap<String, ThemedImageMaterial>icons_level_sizes: Vec<Scalar>text_variants: HashMap<String, ThemedTextMaterial>switch_variants: HashMap<String, ThemedSwitchMaterial>modal_shadow_variants: HashMap<String, Color>Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ThemePropsimpl Send for ThemePropsimpl Sync for ThemePropsimpl Unpin for ThemePropsimpl UnwindSafe for ThemePropsBlanket Implementations
Mutably borrows from an owned value. Read more