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> 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