pub struct FeatureVariations<'a> { /* private fields */ }Expand description
FeatureVariations table.
A feature variations table describes variations on the effects of features based on various conditions. That is, it allows the default set of lookups for a given feature to be substituted with alternates of lookups under particular conditions.
https://learn.microsoft.com/en-us/typography/opentype/spec/chapter2#featurevariations-table
Trait Implementations§
Source§impl ReadBinary for FeatureVariations<'_>
impl ReadBinary for FeatureVariations<'_>
Auto Trait Implementations§
impl<'a> Freeze for FeatureVariations<'a>
impl<'a> RefUnwindSafe for FeatureVariations<'a>
impl<'a> Send for FeatureVariations<'a>
impl<'a> Sync for FeatureVariations<'a>
impl<'a> Unpin for FeatureVariations<'a>
impl<'a> UnwindSafe for FeatureVariations<'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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more