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

pub enum T {
    Normal,
    UltraCondensed,
    ExtraCondensed,
    Condensed,
    SemiCondensed,
    SemiExpanded,
    Expanded,
    ExtraExpanded,
    UltraExpanded,
}

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. Read more

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 MallocSizeOf for T

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. 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

impl From<FontStretch> for f64
[src]

We should treat font stretch as real number in order to interpolate this property. https://drafts.csswg.org/css-fonts-3/#font-stretch-animation

[src]

Performs the conversion.

impl Into<FontStretch> for f64
[src]

[src]

Performs the conversion.