Enum style::properties::longhands::font_stretch::computed_value::T []

pub enum T {
    normal,
    ultra_condensed,
    extra_condensed,
    condensed,
    semi_condensed,
    semi_expanded,
    expanded,
    extra_expanded,
    ultra_expanded,
}

Variants

Methods

impl T

Parse this property from a CSS input stream.

Parse this property from an already-tokenized identifier.

Trait Implementations

impl Clone for T

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for T

impl Debug for T

Formats the value using the given formatter.

impl Eq for T

impl Hash for T

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for T

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl HeapSizeOf for T

Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more

impl ToCss for T

Serialize self in CSS syntax, writing to dest.

[src]

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

impl Parse for T
[src]

[src]

Parse a value of this type. Read more

impl Animate for FontStretch
[src]

https://drafts.csswg.org/css-fonts/#font-stretch-prop

[src]

Animate a value towards another one, given an animation procedure.

impl ComputeSquaredDistance for FontStretch
[src]

[src]

Computes the squared distance between two animatable values.

impl ToAnimatedZero for FontStretch
[src]

[src]

Returns a value that, when added with an underlying value, will produce the underlying value. This is used for SMIL animation's "by-animation" where SMIL first interpolates from the zero value to the 'by' value, and then adds the result to the underlying value. Read more