pub enum SingleSubst<'a> {
Format1(SingleSubstFormat1<'a>),
Format2(SingleSubstFormat2<'a>),
}
Expand description
LookupType 1: Single Substitution Subtable
Variants§
Format1(SingleSubstFormat1<'a>)
Format2(SingleSubstFormat2<'a>)
Implementations§
Source§impl<'a> SingleSubst<'a>
impl<'a> SingleSubst<'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 subst_format(&self) -> u16
pub fn subst_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 substitution subtable
Trait Implementations§
Source§impl<'a> Clone for SingleSubst<'a>
impl<'a> Clone for SingleSubst<'a>
Source§fn clone(&self) -> SingleSubst<'a>
fn clone(&self) -> SingleSubst<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for SingleSubst<'a>
impl<'a> RefUnwindSafe for SingleSubst<'a>
impl<'a> Send for SingleSubst<'a>
impl<'a> Sync for SingleSubst<'a>
impl<'a> Unpin for SingleSubst<'a>
impl<'a> UnwindSafe for SingleSubst<'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