pub(crate) enum CachedSubtableKind<'a> {
Show 19 variants
SingleSubst1(SingleSubst1),
SingleSubst2(SingleSubst2<'a>),
MultipleSubst1(MultipleSubst1<'a>),
AlternateSubst1(AlternateSubst1<'a>),
LigatureSubst1(LigatureSubst1<'a>),
ReverseChainSubst1(ReverseChainSubst1<'a>),
SinglePos1(SinglePos1<'a>),
SinglePos2(SinglePos2<'a>),
PairPos1(PairPos1<'a>),
PairPos2(Box<PairPos2<'a>>),
PairKern1(PairKern1<'a>),
PairKern2(Box<PairKern2<'a>>),
CursivePos1(CursivePos1<'a>),
MarkBasePos1(Box<MarkBasePos1<'a>>),
MarkLigPos1(Box<MarkLigPos1<'a>>),
MarkMarkPos1(Box<MarkMarkPos1<'a>>),
ChainContext1(ChainContext1<'a>),
ChainContext2(Box<ChainContext2<'a>>),
ChainContext3(ChainContext3<'a>),
}Expand description
A parsed subtable with the data derived from it.
Variants§
SingleSubst1(SingleSubst1)
SingleSubst2(SingleSubst2<'a>)
MultipleSubst1(MultipleSubst1<'a>)
AlternateSubst1(AlternateSubst1<'a>)
LigatureSubst1(LigatureSubst1<'a>)
ReverseChainSubst1(ReverseChainSubst1<'a>)
SinglePos1(SinglePos1<'a>)
SinglePos2(SinglePos2<'a>)
PairPos1(PairPos1<'a>)
PairPos2(Box<PairPos2<'a>>)
PairKern1(PairKern1<'a>)
PairKern2(Box<PairKern2<'a>>)
CursivePos1(CursivePos1<'a>)
MarkBasePos1(Box<MarkBasePos1<'a>>)
MarkLigPos1(Box<MarkLigPos1<'a>>)
MarkMarkPos1(Box<MarkMarkPos1<'a>>)
ChainContext1(ChainContext1<'a>)
ChainContext2(Box<ChainContext2<'a>>)
ChainContext3(ChainContext3<'a>)
Implementations§
Source§impl CachedSubtableKind<'_>
impl CachedSubtableKind<'_>
Sourcefn would_apply(
&self,
ctx: &WouldApplyContext<'_>,
coverage: &Coverage<'_>,
) -> Option<bool>
fn would_apply( &self, ctx: &WouldApplyContext<'_>, coverage: &Coverage<'_>, ) -> Option<bool>
Returns whether a substitution subtable would apply, or None for a
positioning subtable.
Auto Trait Implementations§
impl<'a> Freeze for CachedSubtableKind<'a>
impl<'a> RefUnwindSafe for CachedSubtableKind<'a>
impl<'a> Send for CachedSubtableKind<'a>
impl<'a> Sync for CachedSubtableKind<'a>
impl<'a> Unpin for CachedSubtableKind<'a>
impl<'a> UnsafeUnpin for CachedSubtableKind<'a>
impl<'a> UnwindSafe for CachedSubtableKind<'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