Type Alias read_fonts::tables::gpos::ExtensionPosFormat1

source ·
pub type ExtensionPosFormat1<'a, T> = TableRef<'a, ExtensionPosFormat1Marker<T>>;
Expand description

Aliased Type§

struct ExtensionPosFormat1<'a, T> { /* private fields */ }

Implementations§

source§

impl<'a, T> ExtensionPosFormat1<'a, T>

source

pub fn pos_format(&self) -> u16

Format identifier: format = 1

source

pub fn extension_lookup_type(&self) -> u16

Lookup type of subtable referenced by extensionOffset (i.e. the extension subtable).

source

pub fn extension_offset(&self) -> Offset32

Offset to the extension subtable, of lookup type extensionLookupType, relative to the start of the ExtensionPosFormat1 subtable.

source

pub fn extension(&self) -> Result<T, ReadError>
where T: FontRead<'a>,

Attempt to resolve extension_offset.

Trait Implementations§

source§

impl<'a, T: FontRead<'a> + SomeTable<'a> + 'a> Debug for ExtensionPosFormat1<'a, T>

source§

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

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

impl<'a, T: FontRead<'a>> ExtensionLookup<'a, T> for ExtensionPosFormat1<'a, T>

source§

impl<'a, T> FontRead<'a> for ExtensionPosFormat1<'a, T>

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, T: FontRead<'a> + SomeTable<'a> + 'a> SomeTable<'a> for ExtensionPosFormat1<'a, T>

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.