pub type PairSet<'a> = TableRef<'a, PairSetMarker>;
Expand description
Part of PairPosFormat1
Aliased Type§
struct PairSet<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PairSet<'a>
impl<'a> PairSet<'a>
Sourcepub fn read(
data: FontData<'a>,
value_format1: ValueFormat,
value_format2: ValueFormat,
) -> Result<Self, ReadError>
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>
impl<'a> PairSet<'a>
Sourcepub fn pair_value_count(&self) -> u16
pub fn pair_value_count(&self) -> u16
Number of PairValueRecords
Sourcepub fn pair_value_records(&self) -> ComputedArray<'a, PairValueRecord>
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> FontReadWithArgs<'a> for PairSet<'a>
impl<'a> FontReadWithArgs<'a> for PairSet<'a>
Source§fn read_with_args(
data: FontData<'a>,
args: &(ValueFormat, ValueFormat),
) -> Result<Self, ReadError>
fn read_with_args( data: FontData<'a>, args: &(ValueFormat, ValueFormat), ) -> Result<Self, ReadError>
read an item, using the provided args. Read more