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> 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