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

source§

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

Formats the value using the given formatter. Read more
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
source§

impl<'a> SomeTable<'a> for SequenceRuleSet<'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.