read_fonts::tables::layout

Type Alias ConditionSet

Source
pub type ConditionSet<'a> = TableRef<'a, ConditionSetMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> ConditionSet<'a>

Source

pub fn condition_count(&self) -> u16

Number of conditions for this condition set.

Source

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

Array of offsets to condition tables, from beginning of the ConditionSet table.

Source

pub fn conditions(&self) -> ArrayOfOffsets<'a, Condition<'a>, Offset32>

A dynamically resolving wrapper for condition_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for ConditionSet<'a>

Source§

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

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