pub enum FeatureTableSubstitution<'a> {
NoSubstitution,
Table(FeatureTableSubstitutionTable<'a>),
}Expand description
A feature table substitution.
Variants§
NoSubstitution
This substitution performs no substitution.
Table(FeatureTableSubstitutionTable<'a>)
The substitute feature table.
Implementations§
Source§impl FeatureTableSubstitution<'_>
impl FeatureTableSubstitution<'_>
Sourcepub fn substitute(&self, feature_index: u16) -> Option<FeatureTable>
pub fn substitute(&self, feature_index: u16) -> Option<FeatureTable>
Perform feature table substitution for the supplied feature_index.
Auto Trait Implementations§
impl<'a> Freeze for FeatureTableSubstitution<'a>
impl<'a> RefUnwindSafe for FeatureTableSubstitution<'a>
impl<'a> Send for FeatureTableSubstitution<'a>
impl<'a> Sync for FeatureTableSubstitution<'a>
impl<'a> Unpin for FeatureTableSubstitution<'a>
impl<'a> UnwindSafe for FeatureTableSubstitution<'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