read_fonts::tables::layout

Type Alias SequenceRuleSet

Source
pub type SequenceRuleSet<'a> = TableRef<'a, SequenceRuleSetMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> SequenceRuleSet<'a>

Source

pub fn seq_rule_count(&self) -> u16

Number of SequenceRule tables

Source

pub fn seq_rule_offsets(&self) -> &'a [BigEndian<Offset16>]

Array of offsets to SequenceRule tables, from beginning of the SequenceRuleSet table

Source

pub fn seq_rules(&self) -> ArrayOfOffsets<'a, SequenceRule<'a>, Offset16>

A dynamically resolving wrapper for seq_rule_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for SequenceRuleSet<'a>

Source§

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

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