pub struct ThemeFonts {
pub major: String,
pub minor: String,
}Expand description
Theme font pair (major = headings, minor = body)
Fields§
§major: String§minor: StringImplementations§
Trait Implementations§
Source§impl Clone for ThemeFonts
impl Clone for ThemeFonts
Source§fn clone(&self) -> ThemeFonts
fn clone(&self) -> ThemeFonts
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 ThemeFonts
impl Debug for ThemeFonts
impl Eq for ThemeFonts
Source§impl PartialEq for ThemeFonts
impl PartialEq for ThemeFonts
Source§fn eq(&self, other: &ThemeFonts) -> bool
fn eq(&self, other: &ThemeFonts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ThemeFonts
Auto Trait Implementations§
impl Freeze for ThemeFonts
impl RefUnwindSafe for ThemeFonts
impl Send for ThemeFonts
impl Sync for ThemeFonts
impl Unpin for ThemeFonts
impl UnsafeUnpin for ThemeFonts
impl UnwindSafe for ThemeFonts
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