Type Alias read_fonts::tables::gdef::AttachList

source ·
pub type AttachList<'a> = TableRef<'a, AttachListMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> AttachList<'a>

source

pub fn coverage_offset(&self) -> Offset16

Offset to Coverage table - from beginning of AttachList table

source

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

Attempt to resolve coverage_offset.

source

pub fn glyph_count(&self) -> u16

Number of glyphs with attachment points

source

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

Array of offsets to AttachPoint tables-from beginning of AttachList table-in Coverage Index order

source

pub fn attach_points(&self) -> ArrayOfOffsets<'a, AttachPoint<'a>, Offset16>

A dynamically resolving wrapper for attach_point_offsets.

Trait Implementations§

source§

impl<'a> Debug for AttachList<'a>

source§

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

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

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