Type Alias LigCaretList

Source
pub type LigCaretList<'a> = TableRef<'a, LigCaretListMarker>;
Expand description

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<'a> LigCaretList<'a>

Source

pub fn coverage_offset(&self) -> Offset16

Offset to Coverage table - from beginning of LigCaretList table

Source

pub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>

Attempt to resolve coverage_offset.

Source

pub fn lig_glyph_count(&self) -> u16

Number of ligature glyphs

Source

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

Array of offsets to LigGlyph tables, from beginning of LigCaretList table —in Coverage Index order

Source

pub fn lig_glyphs(&self) -> ArrayOfOffsets<'a, LigGlyph<'a>, Offset16>

A dynamically resolving wrapper for lig_glyph_offsets.

Trait Implementations§

Source§

impl<'a> Debug for LigCaretList<'a>

Source§

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

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

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