Type Alias read_fonts::tables::variations::DeltaSetIndexMapFormat0

source ·
pub type DeltaSetIndexMapFormat0<'a> = TableRef<'a, DeltaSetIndexMapFormat0Marker>;
Expand description

The DeltaSetIndexMap table format 0

Aliased Type§

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

Implementations§

source§

impl<'a> DeltaSetIndexMapFormat0<'a>

source

pub fn format(&self) -> u8

DeltaSetIndexMap format: set to 0.

source

pub fn entry_format(&self) -> EntryFormat

A packed field that describes the compressed representation of delta-set indices. See details below.

source

pub fn map_count(&self) -> u16

The number of mapping entries.

source

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

The delta-set index mapping data. See details below.

Trait Implementations§

source§

impl<'a> Debug for DeltaSetIndexMapFormat0<'a>

source§

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

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

impl<'a> FontRead<'a> for DeltaSetIndexMapFormat0<'a>

source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instace of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for DeltaSetIndexMapFormat0<'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.