pub struct FontScheme { /* private fields */ }Implementations§
Source§impl FontScheme
impl FontScheme
pub fn get_name(&self) -> &str
pub fn set_name<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_major_font(&self) -> &FontCollectionType
pub fn get_major_font_mut(&mut self) -> &mut FontCollectionType
pub fn set_major_font(&mut self, value: FontCollectionType) -> &mut Self
pub fn get_minor_font(&self) -> &FontCollectionType
pub fn get_minor_font_mut(&mut self) -> &mut FontCollectionType
pub fn set_minor_font(&mut self, value: FontCollectionType) -> &mut Self
Trait Implementations§
Source§impl Clone for FontScheme
impl Clone for FontScheme
Source§fn clone(&self) -> FontScheme
fn clone(&self) -> FontScheme
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 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
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