read_fonts::tables::layout

Type Alias FeatureTableSubstitution

source
pub type FeatureTableSubstitution<'a> = TableRef<'a, FeatureTableSubstitutionMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> FeatureTableSubstitution<'a>

source

pub fn version(&self) -> MajorMinor

Major & minor version of the table: (1, 0)

source

pub fn substitution_count(&self) -> u16

Number of feature table substitution records.

source

pub fn substitutions(&self) -> &'a [FeatureTableSubstitutionRecord]

Array of feature table substitution records.

Trait Implementations§

source§

impl<'a> Debug for FeatureTableSubstitution<'a>

source§

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

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for FeatureTableSubstitution<'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 FeatureTableSubstitution<'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.