Enum read_fonts::tables::layout::Condition
source · pub enum Condition<'a> {
Format1AxisRange(ConditionFormat1<'a>),
Format2VariableValue(ConditionFormat2<'a>),
Format3And(ConditionFormat3<'a>),
Format4Or(ConditionFormat4<'a>),
Format5Negate(ConditionFormat5<'a>),
}
Expand description
Formats 2..5 are implementations of specification changes currently under debate at ISO for an OFF update. For the time being the specification is https://github.com/harfbuzz/boring-expansion-spec/blob/main/ConditionTree.md.
Variants§
Format1AxisRange(ConditionFormat1<'a>)
Format2VariableValue(ConditionFormat2<'a>)
Format3And(ConditionFormat3<'a>)
Format4Or(ConditionFormat4<'a>)
Format5Negate(ConditionFormat5<'a>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Condition<'a>
impl<'a> RefUnwindSafe for Condition<'a>
impl<'a> Send for Condition<'a>
impl<'a> Sync for Condition<'a>
impl<'a> Unpin for Condition<'a>
impl<'a> UnwindSafe for Condition<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)