read_fonts::tables::layout

Type Alias ConditionFormat3

Source
pub type ConditionFormat3<'a> = TableRef<'a, ConditionFormat3Marker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> ConditionFormat3<'a>

Source

pub fn format(&self) -> u16

Format, = 3

Source

pub fn condition_count(&self) -> u8

Number of conditions.

Source

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

Array of condition tables for this conjunction (AND) expression.

Source

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

A dynamically resolving wrapper for condition_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for ConditionFormat3<'a>

Source§

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

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