struct HintCache {
glyf_entries: Vec<HintEntry>,
cff_entries: Vec<HintEntry>,
serial: u64,
}Expand description
LRU cache for hinting instances.
Heavily inspired by vello_encoding::glyph_cache.
Fields§
§glyf_entries: Vec<HintEntry>§cff_entries: Vec<HintEntry>§serial: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HintCache
impl RefUnwindSafe for HintCache
impl Send for HintCache
impl Sync for HintCache
impl Unpin for HintCache
impl UnwindSafe for HintCache
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