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 moresource§impl<'a> Debug for SingleSubst<'a>
impl<'a> Debug for SingleSubst<'a>
source§impl<'a> FontRead<'a> for SingleSubst<'a>
impl<'a> FontRead<'a> for SingleSubst<'a>
Auto 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)