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
coverage: Coverage<'a>
coverages: LazyOffsetArray16<'a, Coverage<'a>>
lookups: LazyArray16<'a, SequenceLookupRecord>
Coverage-based glyph contexts.
Implementations
sourceimpl<'a> ContextLookup<'a>
impl<'a> ContextLookup<'a>
Trait Implementations
sourceimpl<'a> Clone for ContextLookup<'a>
impl<'a> Clone for ContextLookup<'a>
sourcefn clone(&self) -> ContextLookup<'a>
fn clone(&self) -> ContextLookup<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more