read_fonts::tables::varc

Type Alias SparseVariationRegionList

source
pub type SparseVariationRegionList<'a> = TableRef<'a, SparseVariationRegionListMarker>;

Aliased Type§

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

Implementations§

source§

impl<'a> SparseVariationRegionList<'a>

source

pub fn region_count(&self) -> u16

source

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

source

pub fn regions(&self) -> ArrayOfOffsets<'a, SparseVariationRegion<'a>, Offset32>

A dynamically resolving wrapper for region_offsets.

Trait Implementations§

source§

impl<'a> Debug for SparseVariationRegionList<'a>

source§

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

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

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