Type Alias read_fonts::tables::gpos::PairSet

source ·
pub type PairSet<'a> = TableRef<'a, PairSetMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> PairSet<'a>

source

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

A constructor that requires additional arguments.

This type requires some external state in order to be parsed.

source§

impl<'a> PairSet<'a>

source

pub fn pair_value_count(&self) -> u16

Number of PairValueRecords

source

pub fn pair_value_records(&self) -> ComputedArray<'a, PairValueRecord>

Array of PairValueRecords, ordered by glyph ID of the second glyph.

Trait Implementations§

source§

impl<'a> Debug for PairSet<'a>

source§

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

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

impl<'a> FontReadWithArgs<'a> for PairSet<'a>

source§

fn read_with_args( data: FontData<'a>, args: &(ValueFormat, ValueFormat), ) -> Result<Self, ReadError>

read an item, using the provided args. Read more
source§

impl ReadArgs for PairSet<'_>

source§

impl<'a> SomeTable<'a> for PairSet<'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.