pub struct ThemePropsExtras {
pub active_colors: ThemeColorsBundleExtras,
pub background_colors: ThemeColorsBundleExtras,
pub content_backgrounds: HashMap<String, ThemedImageMaterial>,
pub button_backgrounds: HashMap<String, ThemedButtonMaterialExtras>,
pub icons_level_sizes: Vec<Scalar>,
pub text_variants: HashMap<String, ThemedTextMaterialExtras>,
pub text_families: HashMap<String, ThemedTextMaterial>,
pub switch_variants: HashMap<String, ThemedSwitchMaterialExtras>,
pub modal_shadow_variants: HashMap<String, Color>,
}
Fields
active_colors: ThemeColorsBundleExtras
background_colors: ThemeColorsBundleExtras
content_backgrounds: HashMap<String, ThemedImageMaterial>
icons_level_sizes: Vec<Scalar>
text_variants: HashMap<String, ThemedTextMaterialExtras>
text_families: HashMap<String, ThemedTextMaterial>
switch_variants: HashMap<String, ThemedSwitchMaterialExtras>
modal_shadow_variants: HashMap<String, Color>
Trait Implementations
sourceimpl Clone for ThemePropsExtras
impl Clone for ThemePropsExtras
sourcefn clone(&self) -> ThemePropsExtras
fn clone(&self) -> ThemePropsExtras
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ThemePropsExtras
impl Debug for ThemePropsExtras
sourceimpl Default for ThemePropsExtras
impl Default for ThemePropsExtras
sourcefn default() -> ThemePropsExtras
fn default() -> ThemePropsExtras
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ThemePropsExtras
impl<'de> Deserialize<'de> for ThemePropsExtras
sourcefn 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
sourceimpl Serialize for ThemePropsExtras
impl Serialize for ThemePropsExtras
Auto Trait Implementations
impl RefUnwindSafe for ThemePropsExtras
impl Send for ThemePropsExtras
impl Sync for ThemePropsExtras
impl Unpin for ThemePropsExtras
impl UnwindSafe for ThemePropsExtras
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more