read_fonts::tables::gpos

Type Alias MarkArray

source
pub type MarkArray<'a> = TableRef<'a, MarkArrayMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> MarkArray<'a>

source

pub fn mark_count(&self) -> u16

Number of MarkRecords

source

pub fn mark_records(&self) -> &'a [MarkRecord]

Array of MarkRecords, ordered by corresponding glyphs in the associated mark Coverage table.

Trait Implementations§

source§

impl<'a> Debug for MarkArray<'a>

source§

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

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

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