pub(crate) enum ContextFormat2<'a> {
Plain(SequenceContextFormat2<'a>),
Chain(ChainedSequenceContextFormat2<'a>),
PlainWide(SequenceContextFormat5<'a>),
ChainWide(ChainedSequenceContextFormat5<'a>),
}Variants§
Plain(SequenceContextFormat2<'a>)
Chain(ChainedSequenceContextFormat2<'a>)
PlainWide(SequenceContextFormat5<'a>)
ChainWide(ChainedSequenceContextFormat5<'a>)
Implementations§
Source§impl<'a> ContextFormat2<'a>
impl<'a> ContextFormat2<'a>
pub(crate) fn coverage(&self) -> Option<Result<CoverageTable<'_>, ReadError>>
pub(crate) fn input_class_def(&self) -> Option<Result<ClassDef<'_>, ReadError>>
pub(crate) fn backtrack_class_def( &self, ) -> Option<Result<ClassDef<'_>, ReadError>>
pub(crate) fn lookahead_class_def( &self, ) -> Option<Result<ClassDef<'_>, ReadError>>
pub(crate) fn rule_sets( &self, ) -> impl Iterator<Item = Option<Result<Format2RuleSet<'a>, ReadError>>> + '_
Trait Implementations§
Source§impl GlyphClosure for ContextFormat2<'_>
impl GlyphClosure for ContextFormat2<'_>
Source§fn closure_glyphs(
&self,
ctx: &mut ClosureCtx<'_>,
lookup_list: &SubstitutionLookupList<'_>,
_lookup_index: u16,
) -> Result<(), ReadError>
fn closure_glyphs( &self, ctx: &mut ClosureCtx<'_>, lookup_list: &SubstitutionLookupList<'_>, _lookup_index: u16, ) -> Result<(), ReadError>
Update the set of glyphs with any glyphs reachable via substitution.
fn may_have_non_1to1(&self) -> Result<bool, ReadError>
Source§impl Intersect for ContextFormat2<'_>
impl Intersect for ContextFormat2<'_>
Source§impl LookupClosure for ContextFormat2<'_>
impl LookupClosure for ContextFormat2<'_>
fn closure_lookups( &self, c: &mut LookupClosureCtx<'_>, _arg: u16, ) -> Result<(), ReadError>
Auto Trait Implementations§
impl<'a> Freeze for ContextFormat2<'a>
impl<'a> RefUnwindSafe for ContextFormat2<'a>
impl<'a> Send for ContextFormat2<'a>
impl<'a> Sync for ContextFormat2<'a>
impl<'a> Unpin for ContextFormat2<'a>
impl<'a> UnsafeUnpin for ContextFormat2<'a>
impl<'a> UnwindSafe for ContextFormat2<'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