pub enum ContextLookup<'a> {
Format1 {
coverage: Coverage<'a>,
sets: LazyOffsetArray16<'a, LazyOffsetArray16<'a, SequenceRule<'a>>>,
},
Format2 {
coverage: Coverage<'a>,
classes: ClassDefinition<'a>,
sets: LazyOffsetArray16<'a, LazyOffsetArray16<'a, SequenceRule<'a>>>,
},
Format3 {
coverage: Coverage<'a>,
coverages: LazyOffsetArray16<'a, Coverage<'a>>,
lookups: LazyArray16<'a, SequenceLookupRecord>,
},
}
Expand description
Variants§
Format1
Simple glyph contexts.
Format2
Fields
§
classes: ClassDefinition<'a>
§
sets: LazyOffsetArray16<'a, LazyOffsetArray16<'a, SequenceRule<'a>>>
Class-based glyph contexts.
Format3
Fields
§
lookups: LazyArray16<'a, SequenceLookupRecord>
Coverage-based glyph contexts.
Implementations§
Trait Implementations§
source§impl<'a> Clone for ContextLookup<'a>
impl<'a> Clone for ContextLookup<'a>
source§fn clone(&self) -> ContextLookup<'a>
fn clone(&self) -> ContextLookup<'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 ContextLookup<'a>
impl<'a> Debug for ContextLookup<'a>
impl<'a> Copy for ContextLookup<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ContextLookup<'a>
impl<'a> Send for ContextLookup<'a>
impl<'a> Sync for ContextLookup<'a>
impl<'a> Unpin for ContextLookup<'a>
impl<'a> UnwindSafe for ContextLookup<'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