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> Debug for ConditionFormat4<'a>

source§

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

Formats the value using the given formatter. Read more
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
source§

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