Type Alias DeltaSetIndexMapFormat1

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

The DeltaSetIndexMap table format 1

Aliased Type§

pub struct DeltaSetIndexMapFormat1<'a> {
    pub(crate) shape: DeltaSetIndexMapFormat1Marker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: DeltaSetIndexMapFormat1Marker§data: FontData<'a>

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.