read_fonts::tables::gpos

Type Alias BaseArray

Source
pub type BaseArray<'a> = TableRef<'a, BaseArrayMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> BaseArray<'a>

Source

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

A constructor that requires additional arguments.

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

Source§

impl<'a> BaseArray<'a>

Source

pub fn base_count(&self) -> u16

Number of BaseRecords

Source

pub fn base_records(&self) -> ComputedArray<'a, BaseRecord<'a>>

Array of BaseRecords, in order of baseCoverage Index.

Trait Implementations§

Source§

impl<'a> FontReadWithArgs<'a> for BaseArray<'a>

Source§

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

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

impl ReadArgs for BaseArray<'_>