Type Alias read_fonts::tables::layout::ChainedClassSequenceRule

source ·
pub type ChainedClassSequenceRule<'a> = TableRef<'a, ChainedClassSequenceRuleMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> ChainedClassSequenceRule<'a>

source

pub fn backtrack_glyph_count(&self) -> u16

Number of glyphs in the backtrack sequence

source

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

Array of backtrack-sequence classes

source

pub fn input_glyph_count(&self) -> u16

Total number of glyphs in the input sequence

source

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

Array of input sequence classes, beginning with the second glyph position

source

pub fn lookahead_glyph_count(&self) -> u16

Number of glyphs in the lookahead sequence

source

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

Array of lookahead-sequence classes

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> Debug for ChainedClassSequenceRule<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for ChainedClassSequenceRule<'a>

source§

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

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

impl<'a> SomeTable<'a> for ChainedClassSequenceRule<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.