pub(crate) struct LookupCache {
lookups: Vec<OnceLock<Option<Box<Yoke<CachedLookup<'static>, ErasedArcCart>>>>>,
tables: Option<Arc<Tables>>,
is_subst: bool,
budget: Option<Arc<Budget>>,
}Expand description
The lookups of GSUB or GPOS, each parsed on first use.
Fields§
§lookups: Vec<OnceLock<Option<Box<Yoke<CachedLookup<'static>, ErasedArcCart>>>>>§tables: Option<Arc<Tables>>The font’s shared tables, which lookups are cached against.
is_subst: bool§budget: Option<Arc<Budget>>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LookupCache
impl !UnwindSafe for LookupCache
impl Freeze for LookupCache
impl Send for LookupCache
impl Sync for LookupCache
impl Unpin for LookupCache
impl UnsafeUnpin for LookupCache
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