Type Alias ConditionFormat4

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

Aliased Type§

pub struct ConditionFormat4<'a> {
    pub(crate) shape: ConditionFormat4Marker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: ConditionFormat4Marker§data: FontData<'a>

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.