pub struct FontsCache(/* private fields */);Expand description
Fonts cache. Contains resolved font files from the fontdb database.
Have no capacity option because there is no sense in clearing fonts cache, at least for fframes
If font is used within one frame there is a high chance it will be used at some future frame as well.
Implementations§
Source§impl FontsCache
impl FontsCache
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontsCache
impl RefUnwindSafe for FontsCache
impl !Send for FontsCache
impl !Sync for FontsCache
impl Unpin for FontsCache
impl UnwindSafe for FontsCache
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