read_fonts::tables::layout

Type Alias ClassSequenceRule

Source
pub type ClassSequenceRule<'a> = TableRef<'a, ClassSequenceRuleMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> ClassSequenceRule<'a>

Source

pub fn glyph_count(&self) -> u16

Number of glyphs to be matched

Source

pub fn seq_lookup_count(&self) -> u16

Number of SequenceLookupRecords

Source

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

Sequence of classes to be matched to the input glyph sequence, beginning with the second glyph position

Source

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

Array of SequenceLookupRecords

Trait Implementations§

Source§

impl<'a> FontRead<'a> for ClassSequenceRule<'a>

Source§

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

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