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§
source§impl Clone for ThemePropsExtras
impl Clone for ThemePropsExtras
source§fn clone(&self) -> ThemePropsExtras
fn clone(&self) -> ThemePropsExtras
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ThemePropsExtras
impl Debug for ThemePropsExtras
source§impl Default for ThemePropsExtras
impl Default for ThemePropsExtras
source§fn default() -> ThemePropsExtras
fn default() -> ThemePropsExtras
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ThemePropsExtras
impl<'de> Deserialize<'de> for ThemePropsExtras
source§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 ThemePropsExtras
impl Send for ThemePropsExtras
impl Sync for ThemePropsExtras
impl Unpin for ThemePropsExtras
impl UnwindSafe for ThemePropsExtras
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more