Type Alias read_fonts::tables::layout::VariationIndex

source ·
pub type VariationIndex<'a> = TableRef<'a, VariationIndexMarker>;
Expand description

Variation index table

Aliased Type§

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

Implementations§

source§

impl<'a> VariationIndex<'a>

source

pub fn delta_set_outer_index(&self) -> u16

A delta-set outer index — used to select an item variation data subtable within the item variation store.

source

pub fn delta_set_inner_index(&self) -> u16

A delta-set inner index — used to select a delta-set row within an item variation data subtable.

source

pub fn delta_format(&self) -> DeltaFormat

Format, = 0x8000

Trait Implementations§

source§

impl<'a> Debug for VariationIndex<'a>

source§

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

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

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