read_fonts::tables::ift

Type Alias PatchMapFormat2

source
pub type PatchMapFormat2<'a> = TableRef<'a, PatchMapFormat2Marker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> PatchMapFormat2<'a>

source

pub fn format(&self) -> u8

Format identifier: format = 2

source

pub fn compatibility_id(&self) -> &'a [BigEndian<u32>]

Unique ID that identifies compatible patches.

source

pub fn default_patch_encoding(&self) -> u8

Patch format number for patches referenced by this mapping.

source

pub fn entry_count(&self) -> Uint24

source

pub fn entries_offset(&self) -> Offset32

source

pub fn entries(&self) -> Result<MappingEntries<'a>, ReadError>

Attempt to resolve entries_offset.

source

pub fn entry_id_string_data_offset(&self) -> Nullable<Offset32>

source

pub fn entry_id_string_data( &self, ) -> Option<Result<IdStringData<'a>, ReadError>>

Attempt to resolve entry_id_string_data_offset.

source

pub fn uri_template_length(&self) -> u16

source

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

source§

impl<'a> PatchMapFormat2<'a>

Trait Implementations§

source§

impl<'a> Debug for PatchMapFormat2<'a>

source§

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

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

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