pub struct TextFontType { /* private fields */ }Implementations§
Source§impl TextFontType
impl TextFontType
pub fn get_typeface(&self) -> &str
pub fn set_typeface<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_pitch_family(&self) -> &str
pub fn set_pitch_family<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_charset(&self) -> &str
pub fn set_charset<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_panose(&self) -> &str
pub fn set_panose<S: Into<String>>(&mut self, value: S) -> &mut Self
Trait Implementations§
Source§impl Clone for TextFontType
impl Clone for TextFontType
Source§fn clone(&self) -> TextFontType
fn clone(&self) -> TextFontType
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 TextFontType
impl Debug for TextFontType
Source§impl Default for TextFontType
impl Default for TextFontType
Source§fn default() -> TextFontType
fn default() -> TextFontType
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextFontType
impl RefUnwindSafe for TextFontType
impl Send for TextFontType
impl Sync for TextFontType
impl Unpin for TextFontType
impl UnwindSafe for TextFontType
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