pub struct FontScheme {
pub major_font: FontGroup,
pub minor_font: FontGroup,
}
Fields§
§major_font: FontGroup
§minor_font: FontGroup
Implementations§
Source§impl FontScheme
impl FontScheme
Trait Implementations§
Source§impl Clone for FontScheme
impl Clone for FontScheme
Source§fn clone(&self) -> FontScheme
fn clone(&self) -> FontScheme
Returns a copy 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 FontScheme
impl Debug for FontScheme
Source§impl Default for FontScheme
impl Default for FontScheme
Source§fn default() -> FontScheme
fn default() -> FontScheme
Returns the “default value” for a type. Read more
Source§impl ElementReader for FontScheme
impl ElementReader for FontScheme
fn read<R: Read>( r: &mut EventReader<R>, _attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
Source§impl PartialEq for FontScheme
impl PartialEq for FontScheme
Source§impl Serialize for FontScheme
impl Serialize for FontScheme
impl StructuralPartialEq for FontScheme
Auto Trait Implementations§
impl Freeze for FontScheme
impl RefUnwindSafe for FontScheme
impl Send for FontScheme
impl Sync for FontScheme
impl Unpin for FontScheme
impl UnwindSafe for FontScheme
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