read_fonts::tables::varc

Type Alias MultiItemVariationData

source
pub type MultiItemVariationData<'a> = TableRef<'a, MultiItemVariationDataMarker>;

Aliased Type§

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

Implementations§

source§

impl<'a> MultiItemVariationData<'a>

source

pub fn format(&self) -> u8

source

pub fn region_index_count(&self) -> u16

source

pub fn region_indices(&self) -> &'a [BigEndian<u16>]

source

pub fn raw_delta_sets(&self) -> &'a [u8]

source§

impl<'a> MultiItemVariationData<'a>

source

pub fn delta_sets(&self) -> Result<Index2<'a>, ReadError>

An Index2 where each item is a PackedDeltas

source

pub fn delta_set(&self, i: usize) -> Result<PackedDeltas<'a>, ReadError>

Read a specific delta set.

Equivalent to calling Self::delta_sets, fetching item i, and parsing as PackedDeltas

Trait Implementations§

source§

impl<'a> Debug for MultiItemVariationData<'a>

source§

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

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

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