read_fonts::tables::layout

Type Alias FeatureVariations

source
pub type FeatureVariations<'a> = TableRef<'a, FeatureVariationsMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> FeatureVariations<'a>

source

pub fn version(&self) -> MajorMinor

source

pub fn feature_variation_record_count(&self) -> u32

Number of feature variation records.

source

pub fn feature_variation_records(&self) -> &'a [FeatureVariationRecord]

Array of feature variation records.

Trait Implementations§

source§

impl<'a> Debug for FeatureVariations<'a>

source§

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

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

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