Struct style::stylesheets::font_feature_values_rule::FFVDeclaration [] [src]

pub struct FFVDeclaration<T> {
    pub name: Atom,
    pub value: T,
}

A @font-feature-values block declaration. It is <ident>: <integer>+. This struct can take 3 value types. - SingleValue is to keep just one unsigned integer value. - PairValues is to keep one or two unsigned integer values. - VectorValues is to keep a list of unsigned integer values.

Fields

An <ident> for declaration name.

An <integer>+ for declaration value.

Trait Implementations

impl<T: Clone> Clone for FFVDeclaration<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for FFVDeclaration<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq> PartialEq for FFVDeclaration<T>
[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<T: ToCss> ToCss for FFVDeclaration<T>
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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