Enum read_fonts::tables::gsub::SingleSubst
source · 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 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