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
Coverage-based glyph contexts.
Fields
§
coverages: LazyOffsetArray16<'a, Coverage<'a>>
§
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