Type Alias read_fonts::tables::colr::ClipList

source ·
pub type ClipList<'a> = TableRef<'a, ClipListMarker>;
Expand description

ClipList table

Aliased Type§

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

Implementations§

source§

impl<'a> ClipList<'a>

source

pub fn format(&self) -> u8

Set to 1.

source

pub fn num_clips(&self) -> u32

Number of Clip records.

source

pub fn clips(&self) -> &'a [Clip]

Clip records. Sorted by startGlyphID.

Trait Implementations§

source§

impl<'a> Debug for ClipList<'a>

source§

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

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

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