read_fonts::tables::ankr

Type Alias GlyphDataEntry

source
pub type GlyphDataEntry<'a> = TableRef<'a, GlyphDataEntryMarker>;

Aliased Type§

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

Implementations§

source§

impl<'a> GlyphDataEntry<'a>

source

pub fn num_points(&self) -> u32

Number of anchor points for this glyph.

source

pub fn anchor_points(&self) -> &'a [AnchorPoint]

Individual anchor points.

Trait Implementations§

source§

impl<'a> Debug for GlyphDataEntry<'a>

source§

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

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

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