Type Alias SequenceContextFormat3

Source
pub type SequenceContextFormat3<'a> = TableRef<'a, SequenceContextFormat3Marker>;
Expand description

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<'a> SequenceContextFormat3<'a>

Source

pub fn format(&self) -> u16

Format identifier: format = 3

Source

pub fn glyph_count(&self) -> u16

Number of glyphs in the input sequence

Source

pub fn seq_lookup_count(&self) -> u16

Number of SequenceLookupRecords

Source

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

Array of offsets to Coverage tables, from beginning of SequenceContextFormat3 subtable

Source

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

A dynamically resolving wrapper for coverage_offsets.

Source

pub fn seq_lookup_records(&self) -> &'a [SequenceLookupRecord]

Array of SequenceLookupRecords

Trait Implementations§

Source§

impl<'a> Debug for SequenceContextFormat3<'a>

Source§

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

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

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