read_fonts::tables::aat

Type Alias RawBytes

source
pub type RawBytes<'a> = TableRef<'a, RawBytesMarker>;
Expand description

Used for the state_array and entry_table fields in StateHeader.

Aliased Type§

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

Implementations§

source§

impl<'a> RawBytes<'a>

source

pub fn data(&self) -> &'a [u8]

Trait Implementations§

source§

impl<'a> Debug for RawBytes<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for RawBytes<'a>

source§

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

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

impl<'a> SomeTable<'a> for RawBytes<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.