pub struct ThemeElements { /* private fields */ }Implementations§
Source§impl ThemeElements
impl ThemeElements
pub fn set_color_scheme(&mut self, value: ColorScheme)
pub fn get_color_scheme(&self) -> &ColorScheme
pub fn get_color_scheme_mut(&mut self) -> &mut ColorScheme
pub fn set_font_scheme(&mut self, value: FontScheme)
pub fn get_font_scheme(&self) -> &FontScheme
pub fn get_font_scheme_mut(&mut self) -> &mut FontScheme
pub fn set_format_scheme(&mut self, value: FormatScheme)
pub fn get_format_scheme(&self) -> &FormatScheme
pub fn get_format_scheme_mut(&mut self) -> &mut FormatScheme
Trait Implementations§
Source§impl Clone for ThemeElements
impl Clone for ThemeElements
Source§fn clone(&self) -> ThemeElements
fn clone(&self) -> ThemeElements
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 ThemeElements
impl Debug for ThemeElements
Source§impl Default for ThemeElements
impl Default for ThemeElements
Source§fn default() -> ThemeElements
fn default() -> ThemeElements
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThemeElements
impl RefUnwindSafe for ThemeElements
impl Send for ThemeElements
impl Sync for ThemeElements
impl Unpin for ThemeElements
impl UnwindSafe for ThemeElements
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