pub struct ThemeColors {
pub meta: ThemeMeta,
pub colors: HashMap<String, String>,
}Expand description
A loaded theme: metadata plus the authored colors, flattened to dotted keys
(e.g. "surface.page", "status.danger", "category.one").
Fields§
§meta: ThemeMeta§colors: HashMap<String, String>Trait Implementations§
Source§impl Debug for ThemeColors
impl Debug for ThemeColors
Auto Trait Implementations§
impl Freeze for ThemeColors
impl RefUnwindSafe for ThemeColors
impl Send for ThemeColors
impl Sync for ThemeColors
impl Unpin for ThemeColors
impl UnsafeUnpin for ThemeColors
impl UnwindSafe for ThemeColors
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