pub struct FontFeatureValuesAtRule {
pub family_names: Vec<FamilyName>,
pub swash: Vec<FontFeatureValuesDeclaration<SingleValue>>,
pub stylistic: Vec<FontFeatureValuesDeclaration<SingleValue>>,
pub ornaments: Vec<FontFeatureValuesDeclaration<SingleValue>>,
pub annotation: Vec<FontFeatureValuesDeclaration<SingleValue>>,
pub character_variant: Vec<FontFeatureValuesDeclaration<PairValues>>,
pub styleset: Vec<FontFeatureValuesDeclaration<VectorValues>>,
}Expand description
The @font-feature-values at-rule.
Fields§
§family_names: Vec<FamilyName>Font family list for @font-feature-values rule. Family names cannot contain generic families. FamilyName also accepts only non-generic names.
swash: Vec<FontFeatureValuesDeclaration<SingleValue>>A @swash block. Specifies a feature name that will work with the swash() functional notation of font-variant-alternates.
stylistic: Vec<FontFeatureValuesDeclaration<SingleValue>>A @stylistic block. Specifies a feature name that will work with the annotation() functional notation of font-variant-alternates.
ornaments: Vec<FontFeatureValuesDeclaration<SingleValue>>A @ornaments block. Specifies a feature name that will work with the ornaments() ] functional notation of font-variant-alternates.
annotation: Vec<FontFeatureValuesDeclaration<SingleValue>>A @annotation block. Specifies a feature name that will work with the stylistic() functional notation of font-variant-alternates.
character_variant: Vec<FontFeatureValuesDeclaration<PairValues>>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: Vec<FontFeatureValuesDeclaration<VectorValues>>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 FontFeatureValuesAtRule
impl Clone for FontFeatureValuesAtRule
Source§fn clone(&self) -> FontFeatureValuesAtRule
fn clone(&self) -> FontFeatureValuesAtRule
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FontFeatureValuesAtRule
impl Debug for FontFeatureValuesAtRule
Source§impl PartialEq for FontFeatureValuesAtRule
impl PartialEq for FontFeatureValuesAtRule
Source§fn eq(&self, other: &FontFeatureValuesAtRule) -> bool
fn eq(&self, other: &FontFeatureValuesAtRule) -> bool
self and other values to be equal, and is used by ==.