Type Alias ConditionFormat5

Source
pub type ConditionFormat5<'a> = TableRef<'a, ConditionFormat5Marker>;
Expand description

Aliased Type§

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

Fields§

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

Implementations§

Source§

impl<'a> ConditionFormat5<'a>

Source

pub fn format(&self) -> u16

Format, = 5

Source

pub fn condition_offset(&self) -> Offset24

Condition to negate.

Source

pub fn condition(&self) -> Result<Condition<'a>, ReadError>

Attempt to resolve condition_offset.

Trait Implementations§

Source§

impl<'a> Debug for ConditionFormat5<'a>

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'a> FontRead<'a> for ConditionFormat5<'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 ConditionFormat5<'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.