Type Alias Chain

Source
pub type Chain<'a> = TableRef<'a, ChainMarker>;
Expand description

A chain in a morx table.

Aliased Type§

pub struct Chain<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> Chain<'a>

Source

pub fn default_flags(&self) -> u32

The default specification for subtables.

Source

pub fn chain_length(&self) -> u32

Total byte count, including this header; must be a multiple of 4.

Source

pub fn n_feature_entries(&self) -> u32

Number of feature subtable entries.

Source

pub fn n_subtables(&self) -> u32

The number of subtables in the chain.

Source

pub fn features(&self) -> &'a [Feature]

Feature entries for this chain.

Source

pub fn subtables(&self) -> VarLenArray<'a, Subtable<'a>>

Array of chain subtables.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for Chain<'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 VarSize for Chain<'_>

Source§

type Size = u32

The type of the first (length) field of the item. Read more