Enum style::properties::DeclaredValue [] [src]

pub enum DeclaredValue<'a, T: 'a> {
    Value(&'a T),
    WithVariables(&'a Arc<UnparsedValue>),
    CSSWideKeyword(CSSWideKeyword),
}

Servo's representation of a declared value for a given T, which is the declared value for that property.

Variants

A known specified value from the stylesheet.

An unparsed value that contains var() functions.

An CSS-wide keyword.

Trait Implementations

impl<'a, T: Clone + 'a> Clone for DeclaredValue<'a, T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, T: Debug + 'a> Debug for DeclaredValue<'a, T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a, T: Eq + 'a> Eq for DeclaredValue<'a, T>
[src]

impl<'a, T: PartialEq + 'a> PartialEq for DeclaredValue<'a, 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<'a, T: ToCss> ToCss for DeclaredValue<'a, T>
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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