pub struct ThemeElements { /* private fields */ }Implementations§
Source§impl ThemeElements
impl ThemeElements
pub fn color_scheme(&self) -> &ColorScheme
pub fn get_color_scheme(&self) -> &ColorScheme
👎Deprecated since 3.0.0:
Use color_scheme()
pub fn color_scheme_mut(&mut self) -> &mut ColorScheme
pub fn get_color_scheme_mut(&mut self) -> &mut ColorScheme
👎Deprecated since 3.0.0:
Use color_scheme_mut()
pub fn set_color_scheme(&mut self, value: ColorScheme) -> &mut Self
pub fn font_scheme(&self) -> &FontScheme
pub fn get_font_scheme(&self) -> &FontScheme
👎Deprecated since 3.0.0:
Use font_scheme()
pub fn font_scheme_mut(&mut self) -> &mut FontScheme
pub fn get_font_scheme_mut(&mut self) -> &mut FontScheme
👎Deprecated since 3.0.0:
Use font_scheme_mut()
pub fn set_font_scheme(&mut self, value: FontScheme) -> &mut Self
pub fn format_scheme(&self) -> &FormatScheme
pub fn get_format_scheme(&self) -> &FormatScheme
👎Deprecated since 3.0.0:
Use format_scheme()
pub fn format_scheme_mut(&mut self) -> &mut FormatScheme
pub fn get_format_scheme_mut(&mut self) -> &mut FormatScheme
👎Deprecated since 3.0.0:
Use format_scheme_mut()
pub fn set_format_scheme(&mut self, value: FormatScheme) -> &mut Self
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 (const: unstable) · 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 UnsafeUnpin 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