pub enum PairPos<'a> {
Format1(PairPosFormat1<'a>),
Format2(PairPosFormat2<'a>),
}
Expand description
Lookup Type 1: Single Adjustment Positioning Subtable
Variants§
Format1(PairPosFormat1<'a>)
Format2(PairPosFormat2<'a>)
Implementations§
Source§impl<'a> PairPos<'a>
impl<'a> PairPos<'a>
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return the FontData
used to resolve offsets for this table.
Sourcepub fn pos_format(&self) -> u16
pub fn pos_format(&self) -> u16
Format identifier: format = 1
Sourcepub fn coverage_offset(&self) -> Offset16
pub fn coverage_offset(&self) -> Offset16
Offset to Coverage table, from beginning of PairPos subtable.
Sourcepub fn value_format1(&self) -> ValueFormat
pub fn value_format1(&self) -> ValueFormat
Defines the types of data in valueRecord1 — for the first glyph in the pair (may be zero).
Sourcepub fn value_format2(&self) -> ValueFormat
pub fn value_format2(&self) -> ValueFormat
Defines the types of data in valueRecord2 — for the second glyph in the pair (may be zero).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PairPos<'a>
impl<'a> RefUnwindSafe for PairPos<'a>
impl<'a> Send for PairPos<'a>
impl<'a> Sync for PairPos<'a>
impl<'a> Unpin for PairPos<'a>
impl<'a> UnwindSafe for PairPos<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more