Type Alias read_fonts::tables::colr::PaintColrLayers

source ·
pub type PaintColrLayers<'a> = TableRef<'a, PaintColrLayersMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> PaintColrLayers<'a>

source

pub fn format(&self) -> u8

Set to 1.

source

pub fn num_layers(&self) -> u8

Number of offsets to paint tables to read from LayerList.

source

pub fn first_layer_index(&self) -> u32

Index (base 0) into the LayerList.

Trait Implementations§

source§

impl<'a> Debug for PaintColrLayers<'a>

source§

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

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

impl<'a> FontRead<'a> for PaintColrLayers<'a>

source§

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

Read an instace of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for PaintColrLayers<'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.