Type Alias VariationIndex

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

Variation index table

Aliased Type§

pub struct VariationIndex<'a> {
    pub(crate) shape: VariationIndexMarker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: VariationIndexMarker§data: FontData<'a>

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.