pub(crate) struct LayoutCache {
pub ot: OtCache,
pub aat: AatCache,
pub cmap: CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, <() as SelectAtomic<STORAGE_BITS>>::Type>,
pub apply_trak: bool,
}Expand description
Font-wide layout data shared by shapers at different variation positions.
Fields§
§ot: OtCache§aat: AatCache§cmap: CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, <() as SelectAtomic<STORAGE_BITS>>::Type>§apply_trak: boolTrue if the font has both trak and STAT tables.
Implementations§
Auto Trait Implementations§
impl !Freeze for LayoutCache
impl !RefUnwindSafe for LayoutCache
impl !UnwindSafe for LayoutCache
impl Send for LayoutCache
impl Sync for LayoutCache
impl Unpin for LayoutCache
impl UnsafeUnpin for LayoutCache
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