pub struct FontCollectionType { /* private fields */ }Implementations§
Source§impl FontCollectionType
impl FontCollectionType
pub fn get_latin_font(&self) -> &TextFontType
pub fn get_latin_font_mut(&mut self) -> &mut TextFontType
pub fn set_latin_font(&mut self, value: TextFontType) -> &mut Self
pub fn get_east_asian_font(&self) -> &TextFontType
pub fn get_east_asian_font_mut(&mut self) -> &mut TextFontType
pub fn set_east_asian_font(&mut self, value: TextFontType) -> &mut Self
pub fn get_complex_script_font(&self) -> &TextFontType
pub fn get_complex_script_font_mut(&mut self) -> &mut TextFontType
pub fn set_complex_script_font(&mut self, value: TextFontType) -> &mut Self
pub fn get_supplemental_font_list(&self) -> &[SupplementalFont]
pub fn get_supplemental_font_list_mut( &mut self, ) -> &mut ThinVec<SupplementalFont>
pub fn set_supplemental_font_list( &mut self, value: impl Into<ThinVec<SupplementalFont>>, ) -> &mut Self
pub fn add_supplemental_font_list( &mut self, value: SupplementalFont, ) -> &mut Self
Trait Implementations§
Source§impl Clone for FontCollectionType
impl Clone for FontCollectionType
Source§fn clone(&self) -> FontCollectionType
fn clone(&self) -> FontCollectionType
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 FontCollectionType
impl Debug for FontCollectionType
Source§impl Default for FontCollectionType
impl Default for FontCollectionType
Source§fn default() -> FontCollectionType
fn default() -> FontCollectionType
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FontCollectionType
impl RefUnwindSafe for FontCollectionType
impl Send for FontCollectionType
impl Sync for FontCollectionType
impl Unpin for FontCollectionType
impl UnwindSafe for FontCollectionType
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