pub enum Subtables<'a, T: FontRead<'a>, Ext: ExtensionLookup<'a, T>> {
Subtable(ArrayOfOffsets<'a, T>),
Extension(ArrayOfOffsets<'a, Ext>),
}
Expand description
an array of subtables, maybe behind extension lookups
This is used to implement more ergonomic access to lookup subtables for GPOS & GSUB lookup tables.
Variants§
Subtable(ArrayOfOffsets<'a, T>)
Extension(ArrayOfOffsets<'a, Ext>)
Implementations§
Auto Trait Implementations§
impl<'a, T, Ext> Freeze for Subtables<'a, T, Ext>
impl<'a, T, Ext> RefUnwindSafe for Subtables<'a, T, Ext>
impl<'a, T, Ext> Send for Subtables<'a, T, Ext>
impl<'a, T, Ext> Sync for Subtables<'a, T, Ext>
impl<'a, T, Ext> Unpin for Subtables<'a, T, Ext>
impl<'a, T, Ext> UnwindSafe for Subtables<'a, T, Ext>
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