pub enum SubstitutionSubtables<'a> {
Single(Subtables<'a, SingleSubst<'a>, ExtensionSubstFormat1<'a, SingleSubst<'a>>>),
Multiple(Subtables<'a, MultipleSubstFormat1<'a>, ExtensionSubstFormat1<'a, MultipleSubstFormat1<'a>>>),
Alternate(Subtables<'a, AlternateSubstFormat1<'a>, ExtensionSubstFormat1<'a, AlternateSubstFormat1<'a>>>),
Ligature(Subtables<'a, LigatureSubstFormat1<'a>, ExtensionSubstFormat1<'a, LigatureSubstFormat1<'a>>>),
Contextual(Subtables<'a, SubstitutionSequenceContext<'a>, ExtensionSubstFormat1<'a, SubstitutionSequenceContext<'a>>>),
ChainContextual(Subtables<'a, SubstitutionChainContext<'a>, ExtensionSubstFormat1<'a, SubstitutionChainContext<'a>>>),
Reverse(Subtables<'a, ReverseChainSingleSubstFormat1<'a>, ExtensionSubstFormat1<'a, ReverseChainSingleSubstFormat1<'a>>>),
}
Expand description
The subtables from a GPOS lookup.
This type is a convenience that removes the need to dig into the
SubstitutionLookup
enum in order to access subtables, and it also abstracts
away the distinction between extension and non-extension lookups.
Variants§
Single(Subtables<'a, SingleSubst<'a>, ExtensionSubstFormat1<'a, SingleSubst<'a>>>)
Multiple(Subtables<'a, MultipleSubstFormat1<'a>, ExtensionSubstFormat1<'a, MultipleSubstFormat1<'a>>>)
Alternate(Subtables<'a, AlternateSubstFormat1<'a>, ExtensionSubstFormat1<'a, AlternateSubstFormat1<'a>>>)
Ligature(Subtables<'a, LigatureSubstFormat1<'a>, ExtensionSubstFormat1<'a, LigatureSubstFormat1<'a>>>)
Contextual(Subtables<'a, SubstitutionSequenceContext<'a>, ExtensionSubstFormat1<'a, SubstitutionSequenceContext<'a>>>)
ChainContextual(Subtables<'a, SubstitutionChainContext<'a>, ExtensionSubstFormat1<'a, SubstitutionChainContext<'a>>>)
Reverse(Subtables<'a, ReverseChainSingleSubstFormat1<'a>, ExtensionSubstFormat1<'a, ReverseChainSingleSubstFormat1<'a>>>)
Auto Trait Implementations§
impl<'a> Freeze for SubstitutionSubtables<'a>
impl<'a> RefUnwindSafe for SubstitutionSubtables<'a>
impl<'a> Send for SubstitutionSubtables<'a>
impl<'a> Sync for SubstitutionSubtables<'a>
impl<'a> Unpin for SubstitutionSubtables<'a>
impl<'a> UnwindSafe for SubstitutionSubtables<'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