Enum style::properties::declaration_block::AppendableValue [] [src]

pub enum AppendableValue<'a, I> where
    I: Iterator<Item = &'a PropertyDeclaration>, 
{ Declaration(&'a PropertyDeclaration), DeclarationsForShorthand(ShorthandId, I), Css { css: &'a str, with_variables: bool, }, }

A convenient enum to represent different kinds of stuff that can represent a value in the serialization of a property declaration.

Variants

A given declaration, of which we'll serialize just the value.

A set of declarations for a given shorthand.

FIXME: This needs more docs, where are the shorthands expanded? We print the property name before-hand, don't we?

A raw CSS string, coming for example from a property with CSS variables, or when storing a serialized shorthand value before appending directly.

Fields of Css

The raw CSS string.

Whether the original serialization contained variables or not.