read_fonts::tables::aat

Type Alias LookupU32

Source
pub type LookupU32<'a> = TypedLookup<'a, u32>;

Aliased Type§

struct LookupU32<'a> { /* private fields */ }

Implementations

Source§

impl<T: LookupValue> TypedLookup<'_, T>

Source

pub fn value(&self, index: u16) -> Result<T, ReadError>

Returns the value associated with the given index.

Trait Implementations

Source§

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

Source§

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

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