Type Alias LayerList

Source
pub type LayerList<'a> = TableRef<'a, LayerListMarker>;
Expand description

LayerList table

Aliased Type§

pub struct LayerList<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> LayerList<'a>

Source

pub fn num_layers(&self) -> u32

Source

pub fn paint_offsets(&self) -> &'a [BigEndian<Offset32>]

Offsets to Paint tables.

Source

pub fn paints(&self) -> ArrayOfOffsets<'a, Paint<'a>, Offset32>

A dynamically resolving wrapper for paint_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for LayerList<'a>

Source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more