Struct css::domain::atRules::fontFeatureValues::FontFeatureValuesAtRule [] [src]

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>>,
}

The @font-feature-values at-rule.

Fields

Font family list for @font-feature-values rule. Family names cannot contain generic families. FamilyName also accepts only non-generic names.

A @swash block. Specifies a feature name that will work with the swash() functional notation of font-variant-alternates.

A @stylistic block. Specifies a feature name that will work with the annotation() functional notation of font-variant-alternates.

A @ornaments block. Specifies a feature name that will work with the ornaments() ] functional notation of font-variant-alternates.

A @annotation block. Specifies a feature name that will work with the stylistic() functional notation of font-variant-alternates.

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.

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.

Methods

impl FontFeatureValuesAtRule
[src]

[src]

Returns length of all at-rules.

Trait Implementations

impl Clone for FontFeatureValuesAtRule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FontFeatureValuesAtRule
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for FontFeatureValuesAtRule
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl ToCss for FontFeatureValuesAtRule
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more