pub(crate) struct MorphSubtableCache<'a> {
start_end_safe_to_break: u64,
safe_to_break: SafeToBreakSubtable,
glyph_set: U32Set,
glyph_digest: SetDigest,
class_cache: CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, <() as SelectAtomic<STORAGE_BITS>>::Type>,
kind: Option<MorphSubtableKind<'a>>,
}Fields§
§start_end_safe_to_break: u64§safe_to_break: SafeToBreakSubtable§glyph_set: U32Set§glyph_digest: SetDigest§class_cache: CacheCore<KEY_BITS, VALUE_BITS, CACHE_SIZE, <() as SelectAtomic<STORAGE_BITS>>::Type>§kind: Option<MorphSubtableKind<'a>>The parsed subtable, or None if it is unreadable.
Implementations§
Source§impl<'a> MorphSubtableCache<'a>
impl<'a> MorphSubtableCache<'a>
pub(crate) fn descriptor_morx( chain_index: usize, subtable: &Subtable<'_>, ) -> MorphSubtableDescriptor
pub(crate) fn descriptor_mort( chain_index: usize, subtable: &Subtable<'_>, ) -> MorphSubtableDescriptor
pub(crate) fn new_morx( subtable: &Subtable<'a>, num_glyphs: u32, safe_to_break: &mut SafeToBreakAccel, ) -> Self
pub(crate) fn new_mort( subtable: &Subtable<'a>, num_glyphs: u32, safe_to_break: &mut SafeToBreakAccel, ) -> Self
Auto Trait Implementations§
impl<'a> !Freeze for MorphSubtableCache<'a>
impl<'a> RefUnwindSafe for MorphSubtableCache<'a>
impl<'a> Send for MorphSubtableCache<'a>
impl<'a> Sync for MorphSubtableCache<'a>
impl<'a> Unpin for MorphSubtableCache<'a>
impl<'a> UnsafeUnpin for MorphSubtableCache<'a>
impl<'a> UnwindSafe for MorphSubtableCache<'a>
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