Type Alias RawWords

Source
pub type RawWords<'a> = TableRef<'a, RawWordsMarker>;
Expand description

Used for the state_array in StxHeader.

Aliased Type§

pub struct RawWords<'a> {
    pub(crate) shape: RawWordsMarker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: RawWordsMarker§data: FontData<'a>

Implementations§

Source§

impl<'a> RawWords<'a>

Source

pub fn data(&self) -> &'a [BigEndian<u16>]

Trait Implementations§

Source§

impl<'a> Debug for RawWords<'a>

Source§

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

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

impl<'a> FontRead<'a> for RawWords<'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 RawWords<'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.