read_fonts::tables::ift

Type Alias TableKeyedPatch

Source
pub type TableKeyedPatch<'a> = TableRef<'a, TableKeyedPatchMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> TableKeyedPatch<'a>

Source

pub fn format(&self) -> Tag

Source

pub fn compatibility_id(&self) -> CompatibilityId

Unique ID that identifies compatible patches.

Source

pub fn patches_count(&self) -> u16

Source

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

Source

pub fn patches(&self) -> ArrayOfOffsets<'a, TablePatch<'a>, Offset32>

A dynamically resolving wrapper for patch_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for TableKeyedPatch<'a>

Source§

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

Read an instance of Self from the provided data, performing validation. Read more