Enum ttf_parser::opentype_layout::ContextLookup
source · 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
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 more