Type Alias MarkGlyphSets

Source
pub type MarkGlyphSets<'a> = TableRef<'a, MarkGlyphSetsMarker>;
Expand description

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<'a> MarkGlyphSets<'a>

Source

pub fn format(&self) -> u16

Format identifier == 1

Source

pub fn mark_glyph_set_count(&self) -> u16

Number of mark glyph sets defined

Source

pub fn coverage_offsets(&self) -> &'a [BigEndian<Offset32>]

Array of offsets to mark glyph set coverage tables, from the start of the MarkGlyphSets table.

Source

pub fn coverages(&self) -> ArrayOfOffsets<'a, CoverageTable<'a>, Offset32>

A dynamically resolving wrapper for coverage_offsets.

Trait Implementations§

Source§

impl<'a> Debug for MarkGlyphSets<'a>

Source§

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

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

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