Enum style::properties::DeclaredValueOwned [] [src]

pub enum DeclaredValueOwned<T> {
    Value(T),
    WithVariables(Arc<UnparsedValue>),
    CSSWideKeyword(CSSWideKeyword),
}

A variant of DeclaredValue that owns its data. This separation exists so that PropertyDeclaration can avoid embedding a DeclaredValue (and its extra discriminant word) and synthesize dependent DeclaredValues for PropertyDeclaration instances as needed.

Variants

A known specified value from the stylesheet.

An unparsed value that contains var() functions.

An CSS-wide keyword.

Trait Implementations

impl<T: Clone> Clone for DeclaredValueOwned<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 DeclaredValueOwned<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Eq> Eq for DeclaredValueOwned<T>
[src]

impl<T: PartialEq> PartialEq for DeclaredValueOwned<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 !=.