pub struct FontLibrary { /* private fields */ }
Expand description
Indexed collection of fonts used during layout for font selection and fallback.
Implementations§
Source§impl FontLibrary
impl FontLibrary
Sourcepub fn builder() -> FontLibraryBuilder
pub fn builder() -> FontLibraryBuilder
Creates builder for a font library.
Trait Implementations§
Source§impl Clone for FontLibrary
impl Clone for FontLibrary
Source§fn clone(&self) -> FontLibrary
fn clone(&self) -> FontLibrary
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 moreAuto Trait Implementations§
impl Freeze for FontLibrary
impl RefUnwindSafe for FontLibrary
impl Send for FontLibrary
impl Sync for FontLibrary
impl Unpin for FontLibrary
impl UnwindSafe for FontLibrary
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