Type Alias ChainedClassSequenceRule

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

Aliased Type§

pub struct ChainedClassSequenceRule<'a> {
    pub(crate) shape: ChainedClassSequenceRuleMarker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: ChainedClassSequenceRuleMarker§data: FontData<'a>

Implementations§

Source§

impl ChainedClassSequenceRule<'_>

Source

fn intersects( &self, input_classes: &IntSet<u16>, backtrack_classes: &IntSet<u16>, lookahead_classes: &IntSet<u16>, ) -> bool

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.