pub struct ThemePalette {
pub background: ThemeColor,
pub foreground: ThemeColor,
pub accent: ThemeColor,
pub success: ThemeColor,
pub warning: ThemeColor,
pub danger: ThemeColor,
}Expand description
Theme Palette
Fields§
§background: ThemeColorBackground color
foreground: ThemeColorForeground color
accent: ThemeColorAccent color
success: ThemeColorSuccess color
warning: ThemeColorWarning color
danger: ThemeColorDanger color
Trait Implementations§
Source§impl Clone for ThemePalette
impl Clone for ThemePalette
Source§fn clone(&self) -> ThemePalette
fn clone(&self) -> ThemePalette
Returns a duplicate 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 ThemePalette
impl Debug for ThemePalette
Source§impl PartialEq for ThemePalette
impl PartialEq for ThemePalette
impl Copy for ThemePalette
impl StructuralPartialEq for ThemePalette
Auto Trait Implementations§
impl Freeze for ThemePalette
impl RefUnwindSafe for ThemePalette
impl Send for ThemePalette
impl Sync for ThemePalette
impl Unpin for ThemePalette
impl UnwindSafe for ThemePalette
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