pub enum SinglePos<'a> {
Format1(SinglePosFormat1<'a>),
Format2(SinglePosFormat2<'a>),
}
Expand description
Lookup Type 1: Single Adjustment Positioning Subtable
Variants§
Format1(SinglePosFormat1<'a>)
Format2(SinglePosFormat2<'a>)
Implementations§
Source§impl<'a> SinglePos<'a>
impl<'a> SinglePos<'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 SinglePos subtable.
Sourcepub fn value_format(&self) -> ValueFormat
pub fn value_format(&self) -> ValueFormat
Defines the types of data in the ValueRecord.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SinglePos<'a>
impl<'a> RefUnwindSafe for SinglePos<'a>
impl<'a> Send for SinglePos<'a>
impl<'a> Sync for SinglePos<'a>
impl<'a> Unpin for SinglePos<'a>
impl<'a> UnwindSafe for SinglePos<'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