read_fonts::tables::gdef

Type Alias LigGlyph

source
pub type LigGlyph<'a> = TableRef<'a, LigGlyphMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> LigGlyph<'a>

source

pub fn caret_count(&self) -> u16

Number of CaretValue tables for this ligature (components - 1)

source

pub fn caret_value_offsets(&self) -> &'a [BigEndian<Offset16>]

Array of offsets to CaretValue tables, from beginning of LigGlyph table — in increasing coordinate order

source

pub fn caret_values(&self) -> ArrayOfOffsets<'a, CaretValue<'a>, Offset16>

A dynamically resolving wrapper for caret_value_offsets.

Trait Implementations§

source§

impl<'a> Debug for LigGlyph<'a>

source§

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

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

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