read_fonts::tables::layout

Type Alias ConditionFormat4

Source
pub type ConditionFormat4<'a> = TableRef<'a, ConditionFormat4Marker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> ConditionFormat4<'a>

Source

pub fn format(&self) -> u16

Format, = 4

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 disjunction (OR) 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 ConditionFormat4<'a>

Source§

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

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