Type Alias read_fonts::tables::layout::SequenceRule
source · pub type SequenceRule<'a> = TableRef<'a, SequenceRuleMarker>;
Expand description
Part of SequenceContextFormat1
Aliased Type§
struct SequenceRule<'a> { /* private fields */ }
Implementations§
source§impl<'a> SequenceRule<'a>
impl<'a> SequenceRule<'a>
sourcepub fn glyph_count(&self) -> u16
pub fn glyph_count(&self) -> u16
Number of glyphs in the input glyph sequence
sourcepub fn seq_lookup_count(&self) -> u16
pub fn seq_lookup_count(&self) -> u16
Number of SequenceLookupRecords
sourcepub fn input_sequence(&self) -> &'a [BigEndian<GlyphId>]
pub fn input_sequence(&self) -> &'a [BigEndian<GlyphId>]
Array of input glyph IDs—starting with the second glyph
sourcepub fn seq_lookup_records(&self) -> &'a [SequenceLookupRecord]
pub fn seq_lookup_records(&self) -> &'a [SequenceLookupRecord]
Array of Sequence lookup records