read_fonts::tables::varc

Type Alias ConditionList

source
pub type ConditionList<'a> = TableRef<'a, ConditionListMarker>;

Aliased Type§

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

Implementations§

source§

impl<'a> ConditionList<'a>

source

pub fn condition_count(&self) -> u32

source

pub fn condition_offsets(&self) -> &'a [BigEndian<Offset32>]

source

pub fn conditions(&self) -> ArrayOfOffsets<'a, Condition<'a>, Offset32>

A dynamically resolving wrapper for condition_offsets.

Trait Implementations§

source§

impl<'a> Debug for ConditionList<'a>

source§

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

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

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