pub enum ContextLookup<'a> {
Format1 {
coverage: Coverage<'a>,
sets: SequenceRuleSets<'a>,
},
Format2 {
coverage: Coverage<'a>,
classes: ClassDefinition<'a>,
sets: SequenceRuleSets<'a>,
},
Format3 {
coverage: Coverage<'a>,
coverages: LazyOffsetArray16<'a, Coverage<'a>>,
lookups: LazyArray16<'a, SequenceLookupRecord>,
},
}
Expand description
Variants§
Format1
Simple glyph contexts.
Format2
Class-based glyph contexts.
Format3
Coverage-based glyph contexts.
Fields
§
lookups: LazyArray16<'a, SequenceLookupRecord>
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> Freeze for ContextLookup<'a>
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