pub struct ThemeOptions {
pub name: String,
pub variables: HashMap<String, String>,
}
Expand description
Theme options
Fields§
§name: String
The name of the theme
variables: HashMap<String, String>
Custom CSS variables
Trait Implementations§
Source§impl Clone for ThemeOptions
impl Clone for ThemeOptions
Source§fn clone(&self) -> ThemeOptions
fn clone(&self) -> ThemeOptions
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 ThemeOptions
impl Debug for ThemeOptions
Auto Trait Implementations§
impl Freeze for ThemeOptions
impl RefUnwindSafe for ThemeOptions
impl Send for ThemeOptions
impl Sync for ThemeOptions
impl Unpin for ThemeOptions
impl UnwindSafe for ThemeOptions
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