Type Alias read_fonts::tables::layout::ChainedSequenceRule
source · pub type ChainedSequenceRule<'a> = TableRef<'a, ChainedSequenceRuleMarker>;
Expand description
Part of ChainedSequenceContextFormat1
Aliased Type§
struct ChainedSequenceRule<'a> { /* private fields */ }
Implementations§
source§impl<'a> ChainedSequenceRule<'a>
impl<'a> ChainedSequenceRule<'a>
sourcepub fn backtrack_glyph_count(&self) -> u16
pub fn backtrack_glyph_count(&self) -> u16
Number of glyphs in the backtrack sequence
sourcepub fn backtrack_sequence(&self) -> &'a [BigEndian<GlyphId>]
pub fn backtrack_sequence(&self) -> &'a [BigEndian<GlyphId>]
Array of backtrack glyph IDs
sourcepub fn input_glyph_count(&self) -> u16
pub fn input_glyph_count(&self) -> u16
Number of glyphs in the input sequence
sourcepub fn input_sequence(&self) -> &'a [BigEndian<GlyphId>]
pub fn input_sequence(&self) -> &'a [BigEndian<GlyphId>]
Array of input glyph IDs—start with second glyph
sourcepub fn lookahead_glyph_count(&self) -> u16
pub fn lookahead_glyph_count(&self) -> u16
Number of glyphs in the lookahead sequence
sourcepub fn lookahead_sequence(&self) -> &'a [BigEndian<GlyphId>]
pub fn lookahead_sequence(&self) -> &'a [BigEndian<GlyphId>]
Array of lookahead glyph IDs
sourcepub fn seq_lookup_count(&self) -> u16
pub fn seq_lookup_count(&self) -> u16
Number of SequenceLookupRecords
sourcepub fn seq_lookup_records(&self) -> &'a [SequenceLookupRecord]
pub fn seq_lookup_records(&self) -> &'a [SequenceLookupRecord]
Array of SequenceLookupRecords