read_fonts::tables::layout

Type Alias ConditionFormat5

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

Aliased Type§

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

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> 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