read_fonts::tables::variations

Type Alias DeltaSetIndexMapFormat1

source
pub type DeltaSetIndexMapFormat1<'a> = TableRef<'a, DeltaSetIndexMapFormat1Marker>;
Expand description

The DeltaSetIndexMap table format 1

Aliased Type§

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

Implementations§

source§

impl<'a> DeltaSetIndexMapFormat1<'a>

source

pub fn format(&self) -> u8

DeltaSetIndexMap format: set to 1.

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

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 DeltaSetIndexMapFormat1<'a>

source§

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

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

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