pub struct Collection { /* private fields */ }
Expand description
A system font collection.
Implementations§
Source§impl Collection
impl Collection
Sourcepub fn new() -> Result<Self, Error>
pub fn new() -> Result<Self, Error>
Construct a new font collection. This scans and caches the system fonts.
Auto Trait Implementations§
impl Freeze for Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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