read_fonts::tables::varc

Type Alias MultiItemVariationStore

source
pub type MultiItemVariationStore<'a> = TableRef<'a, MultiItemVariationStoreMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> MultiItemVariationStore<'a>

source

pub fn format(&self) -> u16

source

pub fn region_list_offset(&self) -> Offset32

source

pub fn region_list(&self) -> Result<SparseVariationRegionList<'a>, ReadError>

Attempt to resolve region_list_offset.

source

pub fn variation_data_count(&self) -> u16

source

pub fn variation_data_offsets(&self) -> &'a [BigEndian<Offset32>]

source

pub fn variation_data( &self, ) -> ArrayOfOffsets<'a, MultiItemVariationData<'a>, Offset32>

A dynamically resolving wrapper for variation_data_offsets.

Trait Implementations§

source§

impl<'a> Debug for MultiItemVariationStore<'a>

source§

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

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

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