pub struct ThemeVariants {
pub dark: Option<ThemeColors>,
pub light: Option<ThemeColors>,
}Expand description
Dark and light variants of a theme.
Fields§
§dark: Option<ThemeColors>§light: Option<ThemeColors>Trait Implementations§
Source§impl Clone for ThemeVariants
impl Clone for ThemeVariants
Source§fn clone(&self) -> ThemeVariants
fn clone(&self) -> ThemeVariants
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 ThemeVariants
impl Debug for ThemeVariants
Source§impl Default for ThemeVariants
impl Default for ThemeVariants
Source§fn default() -> ThemeVariants
fn default() -> ThemeVariants
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThemeVariants
impl RefUnwindSafe for ThemeVariants
impl Send for ThemeVariants
impl Sync for ThemeVariants
impl Unpin for ThemeVariants
impl UnwindSafe for ThemeVariants
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