Type Alias LookupList

Source
pub type LookupList<'a, T> = TableRef<'a, LookupListMarker<T>>;
Expand description

Aliased Type§

pub struct LookupList<'a, T> { /* private fields */ }

Implementations§

Source§

impl<'a, T> LookupList<'a, T>

Source

pub fn lookup_count(&self) -> u16

Number of lookups in this table

Source

pub fn lookup_offsets(&self) -> &'a [BigEndian<Offset16>]

Array of offsets to Lookup tables, from beginning of LookupList — zero based (first lookup is Lookup index = 0)

Source

pub fn lookups(&self) -> ArrayOfOffsets<'a, T, Offset16>
where T: FontRead<'a>,

A dynamically resolving wrapper for lookup_offsets.

Trait Implementations§

Source§

impl<'a, T> FontRead<'a> for LookupList<'a, T>

Source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more