pub enum ChainedContextLookup<'a> {
Format1 {
coverage: Coverage<'a>,
sets: ChainedSequenceRuleSets<'a>,
},
Format2 {
coverage: Coverage<'a>,
backtrack_classes: ClassDefinition<'a>,
input_classes: ClassDefinition<'a>,
lookahead_classes: ClassDefinition<'a>,
sets: ChainedSequenceRuleSets<'a>,
},
Format3 {
coverage: Coverage<'a>,
backtrack_coverages: LazyOffsetArray16<'a, Coverage<'a>>,
input_coverages: LazyOffsetArray16<'a, Coverage<'a>>,
lookahead_coverages: LazyOffsetArray16<'a, Coverage<'a>>,
lookups: LazyArray16<'a, SequenceLookupRecord>,
},
}
Expand description
Variants§
Format1
Simple glyph contexts.
Format2
Fields
§
backtrack_classes: ClassDefinition<'a>
§
input_classes: ClassDefinition<'a>
§
lookahead_classes: ClassDefinition<'a>
§
sets: ChainedSequenceRuleSets<'a>
Class-based glyph contexts.
Format3
Fields
§
lookups: LazyArray16<'a, SequenceLookupRecord>
Coverage-based glyph contexts.
Implementations§
Trait Implementations§
source§impl<'a> Clone for ChainedContextLookup<'a>
impl<'a> Clone for ChainedContextLookup<'a>
source§fn clone(&self) -> ChainedContextLookup<'a>
fn clone(&self) -> ChainedContextLookup<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ChainedContextLookup<'a>
impl<'a> Debug for ChainedContextLookup<'a>
impl<'a> Copy for ChainedContextLookup<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ChainedContextLookup<'a>
impl<'a> Send for ChainedContextLookup<'a>
impl<'a> Sync for ChainedContextLookup<'a>
impl<'a> Unpin for ChainedContextLookup<'a>
impl<'a> UnwindSafe for ChainedContextLookup<'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