Enum style::values::animated::Procedure [] [src]

pub enum Procedure {
    Interpolate {
        progress: f64,
    },
    Add,
    Accumulate {
        count: u64,
    },
}

An animation procedure.

https://drafts.csswg.org/web-animations/#procedures-for-animating-properties

Variants

https://drafts.csswg.org/web-animations/#animation-interpolation

Fields of Interpolate

https://drafts.csswg.org/web-animations/#animation-addition

https://drafts.csswg.org/web-animations/#animation-accumulation

Fields of Accumulate

Methods

impl Procedure
[src]

[src]

Returns this procedure as a pair of weights.

This is useful for animations that don't animate differently depending on the used procedure.

Trait Implementations

impl Clone for Procedure
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Procedure
[src]

impl Debug for Procedure
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Procedure
[src]

[src]

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

[src]

This method tests for !=.