Struct ttf_parser::aat::ExtendedStateTable
source · pub struct ExtendedStateTable<'a, T> {
number_of_classes: u32,
lookup: Lookup<'a>,
state_array: &'a [u8],
entry_table: &'a [u8],
entry_type: PhantomData<T>,
}
Expand description
Fields§
§number_of_classes: u32
§lookup: Lookup<'a>
§state_array: &'a [u8]
§entry_table: &'a [u8]
§entry_type: PhantomData<T>
Implementations§
source§impl<'a, T: FromData> ExtendedStateTable<'a, T>
impl<'a, T: FromData> ExtendedStateTable<'a, T>
sourcepub fn parse(number_of_glyphs: NonZeroU16, s: &mut Stream<'a>) -> Option<Self>
pub fn parse(number_of_glyphs: NonZeroU16, s: &mut Stream<'a>) -> Option<Self>
Parses an Extended State Table from a stream.
number_of_glyphs
is from the maxp
table.
Trait Implementations§
source§impl<'a, T: Clone> Clone for ExtendedStateTable<'a, T>
impl<'a, T: Clone> Clone for ExtendedStateTable<'a, T>
source§fn clone(&self) -> ExtendedStateTable<'a, T>
fn clone(&self) -> ExtendedStateTable<'a, T>
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, T> Freeze for ExtendedStateTable<'a, T>
impl<'a, T> RefUnwindSafe for ExtendedStateTable<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ExtendedStateTable<'a, T>where
T: Send,
impl<'a, T> Sync for ExtendedStateTable<'a, T>where
T: Sync,
impl<'a, T> Unpin for ExtendedStateTable<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for ExtendedStateTable<'a, T>where
T: UnwindSafe,
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
)