Type Alias IndexSubtableList

Source
pub type IndexSubtableList<'a> = TableRef<'a, IndexSubtableListMarker>;
Expand description

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<'a> IndexSubtableList<'a>

Source

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

A constructor that requires additional arguments.

This type requires some external state in order to be parsed.

Source§

impl<'a> IndexSubtableList<'a>

Source

pub fn index_subtable_records(&self) -> &'a [IndexSubtableRecord]

Array of IndexSubtableRecords.

Trait Implementations§

Source§

impl<'a> Debug for IndexSubtableList<'a>

Source§

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

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

impl<'a> FontReadWithArgs<'a> for IndexSubtableList<'a>

Source§

fn read_with_args(data: FontData<'a>, args: &u32) -> Result<Self, ReadError>

read an item, using the provided args. Read more
Source§

impl ReadArgs for IndexSubtableList<'_>

Source§

impl<'a> SomeTable<'a> for IndexSubtableList<'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.