Struct ttf_parser::morx::LigatureSubtable
source · pub struct LigatureSubtable<'a> {
pub state: ExtendedStateTable<'a, u16>,
pub ligature_actions: LazyArray32<'a, u32>,
pub components: LazyArray32<'a, u16>,
pub ligatures: LazyArray32<'a, GlyphId>,
}
Expand description
A ligature subtable.
Fields§
§state: ExtendedStateTable<'a, u16>
A state table.
ligature_actions: LazyArray32<'a, u32>
Ligature actions.
components: LazyArray32<'a, u16>
Ligature components.
ligatures: LazyArray32<'a, GlyphId>
Ligatures.
Implementations§
source§impl<'a> LigatureSubtable<'a>
impl<'a> LigatureSubtable<'a>
fn parse(number_of_glyphs: NonZeroU16, data: &'a [u8]) -> Option<Self>
Trait Implementations§
source§impl<'a> Clone for LigatureSubtable<'a>
impl<'a> Clone for LigatureSubtable<'a>
source§fn clone(&self) -> LigatureSubtable<'a>
fn clone(&self) -> LigatureSubtable<'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 LigatureSubtable<'a>
impl<'a> RefUnwindSafe for LigatureSubtable<'a>
impl<'a> Send for LigatureSubtable<'a>
impl<'a> Sync for LigatureSubtable<'a>
impl<'a> Unpin for LigatureSubtable<'a>
impl<'a> UnwindSafe for LigatureSubtable<'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
)