Struct ttf_parser::kerx::Subtable1
source · [−]pub struct Subtable1<'a> {
pub state_table: ExtendedStateTable<'a, EntryData>,
/* private fields */
}Expand description
A format 1 subtable.
State Table for Contextual Kerning.
Fields
state_table: ExtendedStateTable<'a, EntryData>A state table.
Implementations
sourceimpl<'a> Subtable1<'a>
impl<'a> Subtable1<'a>
sourcepub fn glyphs_kerning(&self, action_index: u16) -> Option<i16>
pub fn glyphs_kerning(&self, action_index: u16) -> Option<i16>
Returns kerning at action index.
Methods from Deref<Target = ExtendedStateTable<'a, EntryData>>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Subtable1<'a>
impl<'a> Send for Subtable1<'a>
impl<'a> Sync for Subtable1<'a>
impl<'a> Unpin for Subtable1<'a>
impl<'a> UnwindSafe for Subtable1<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more