read_fonts::tables::layout

Type Alias ChainedSequenceRule

Source
pub type ChainedSequenceRule<'a> = TableRef<'a, ChainedSequenceRuleMarker>;
Expand description

Aliased Type§

struct ChainedSequenceRule<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> ChainedSequenceRule<'a>

Source

pub fn backtrack_glyph_count(&self) -> u16

Number of glyphs in the backtrack sequence

Source

pub fn backtrack_sequence(&self) -> &'a [BigEndian<GlyphId16>]

Array of backtrack glyph IDs

Source

pub fn input_glyph_count(&self) -> u16

Number of glyphs in the input sequence

Source

pub fn input_sequence(&self) -> &'a [BigEndian<GlyphId16>]

Array of input glyph IDs—start with second glyph

Source

pub fn lookahead_glyph_count(&self) -> u16

Number of glyphs in the lookahead sequence

Source

pub fn lookahead_sequence(&self) -> &'a [BigEndian<GlyphId16>]

Array of lookahead glyph IDs

Source

pub fn seq_lookup_count(&self) -> u16

Number of SequenceLookupRecords

Source

pub fn seq_lookup_records(&self) -> &'a [SequenceLookupRecord]

Array of SequenceLookupRecords

Trait Implementations§

Source§

impl<'a> FontRead<'a> for ChainedSequenceRule<'a>

Source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more