pub enum FontFeatureValuesBlockType {
Swash,
Stylistic,
Ornaments,
Annotation,
CharacterVariant,
Styleset,
}Expand description
Keeps the information about block type like @swash, @styleset etc.
Variants§
Swash
A @swash blocksck. Specifies a feature name that will work with the swash() functional notation of font-variant-alternates.
Stylistic
A @stylistic block. Specifies a feature name that will work with the annotation() functional notation of font-variant-alternates.
Ornaments
A @ornaments block. Specifies a feature name that will work with the ornaments() ] functional notation of font-variant-alternates.
Annotation
A @annotation block. Specifies a feature name that will work with the stylistic() functional notation of font-variant-alternates.
CharacterVariant
A @character-variant block. Specifies a feature name that will work with the styleset() functional notation of font-variant-alternates. The value can be a pair.
Styleset
A @styleset block. Specifies a feature name that will work with the character-variant() functional notation of font-variant-alternates. The value can be a list.
Implementations§
Trait Implementations§
Source§impl Clone for FontFeatureValuesBlockType
impl Clone for FontFeatureValuesBlockType
Source§fn clone(&self) -> FontFeatureValuesBlockType
fn clone(&self) -> FontFeatureValuesBlockType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for FontFeatureValuesBlockType
impl PartialEq for FontFeatureValuesBlockType
Source§fn eq(&self, other: &FontFeatureValuesBlockType) -> bool
fn eq(&self, other: &FontFeatureValuesBlockType) -> bool
self and other values to be equal, and is used by ==.impl Copy for FontFeatureValuesBlockType
impl Eq for FontFeatureValuesBlockType
impl StructuralPartialEq for FontFeatureValuesBlockType
Auto Trait Implementations§
impl Freeze for FontFeatureValuesBlockType
impl RefUnwindSafe for FontFeatureValuesBlockType
impl Send for FontFeatureValuesBlockType
impl Sync for FontFeatureValuesBlockType
impl Unpin for FontFeatureValuesBlockType
impl UnsafeUnpin for FontFeatureValuesBlockType
impl UnwindSafe for FontFeatureValuesBlockType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
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>
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