pub struct SubtableParts {
pub format: u8,
pub state: StateTableParts,
pub extra: [u32; 3],
}Expand description
Pre-resolved, lifetime-free description of a morx subtable’s layout,
captured once with SubtableKind::parts and replayed cheaply with
SubtableKind::from_parts to avoid re-reading headers on every
application.
Fields§
§format: u8Low byte of coverage: the subtable format (0/1/2/4/5).
state: StateTableParts§extra: [u32; 3]Format-dependent extra offsets read after the state table header: contextual: [lookups_offset, 0, 0]; ligature: [lig_action, component, ligature]; insertion: [glyphs_offset, 0, 0]; others unused.
Trait Implementations§
Source§impl Clone for SubtableParts
impl Clone for SubtableParts
Source§fn clone(&self) -> SubtableParts
fn clone(&self) -> SubtableParts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubtableParts
impl Debug for SubtableParts
Source§impl Default for SubtableParts
impl Default for SubtableParts
Source§fn default() -> SubtableParts
fn default() -> SubtableParts
Returns the “default value” for a type. Read more
impl Copy for SubtableParts
Auto Trait Implementations§
impl Freeze for SubtableParts
impl RefUnwindSafe for SubtableParts
impl Send for SubtableParts
impl Sync for SubtableParts
impl Unpin for SubtableParts
impl UnsafeUnpin for SubtableParts
impl UnwindSafe for SubtableParts
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