pub type CSSNumber = f32;
Expand description

A CSS <number> value.

Numbers may be explicit or computed by calc(), but are always stored and serialized as their computed value.

Trait Implementations

Converts to this type from the input type.

Converts this type into the (usually inferred) input type.

Parse a value of this type using an existing parser.

Parse a value from a string. Read more

Serialize self in CSS syntax, writing to dest.

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