Type Definition read_fonts::layout::ConditionSet
source · [−]pub type ConditionSet<'a> = TableRef<'a, ConditionSetMarker>;Expand description
Implementations
sourceimpl<'a> ConditionSet<'a>
impl<'a> ConditionSet<'a>
sourcepub fn condition_count(&self) -> u16
pub fn condition_count(&self) -> u16
Number of conditions for this condition set.
sourcepub fn condition_offsets(&self) -> &'a [BigEndian<Offset32>]
pub fn condition_offsets(&self) -> &'a [BigEndian<Offset32>]
Array of offsets to condition tables, from beginning of the ConditionSet table.
sourcepub fn conditions(
&self
) -> impl Iterator<Item = Result<ConditionFormat1<'a>, ReadError>> + 'a
pub fn conditions(
&self
) -> impl Iterator<Item = Result<ConditionFormat1<'a>, ReadError>> + 'a
Attempt to resolve condition_offsets.