Struct cdp::animation::Animation [] [src]

pub struct Animation<'a> {
    pub id: Cow<'a, str>,
    pub name: Cow<'a, str>,
    pub paused_state: bool,
    pub play_state: Cow<'a, str>,
    pub playback_rate: f64,
    pub start_time: f64,
    pub current_time: f64,
    pub source: AnimationEffect<'a>,
    pub ty: AnimationType,
    pub css_id: Option<Cow<'a, str>>,
}

[Experimental] Animation instance.

Fields

Animation's id.

Animation's name.

[Experimental] Animation's internal paused state.

Animation's play state.

Animation's playback rate.

Animation's start time.

Animation's current time.

Animation's source animation node.

Animation type of Animation.

A unique ID for Animation representing the sources that triggered this CSS animation/transition.

Trait Implementations

impl<'a> Clone for Animation<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Animation<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Animation<'a>
[src]

[src]

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

[src]

This method tests for !=.