Enum style::properties::animated_properties::TransitionProperty [] [src]

pub enum TransitionProperty {
    All,
    Shorthand(ShorthandId),
    Longhand(LonghandId),
    Unsupported(CustomIdent),
}

A given transition property, that is either All, a transitionable longhand property, a shorthand with at least one transitionable longhand component, or an unsupported property.

Variants

All, any transitionable property changing should generate a transition.

FIXME(emilio): Can we remove this and just use Shorthand(ShorthandId::All)?

A shorthand.

A longhand transitionable property.

Unrecognized property which could be any non-transitionable, custom property, or unknown property.

Methods

impl TransitionProperty
[src]

[src]

Iterates over each longhand property.

[src]

Iterates over every longhand property that is not TransitionProperty::All, stopping and returning true when the provided callback returns true for the first time.

[src]

Parse a transition-property value.

Trait Implementations

impl Clone for TransitionProperty
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TransitionProperty
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for TransitionProperty
[src]

impl Hash for TransitionProperty
[src]

[src]

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 MallocSizeOf for TransitionProperty
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl PartialEq for TransitionProperty
[src]

[src]

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

[src]

This method tests for !=.

impl ToCss for TransitionProperty
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

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

impl ToComputedValue for TransitionProperty
[src]

The computed value type we're going to be converted to.

[src]

Convert a specified value to a computed value, using itself and the data inside the Context. Read more

[src]

Convert a computed value to specified value form. Read more