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
id: Cow<'a, str>
Animation's id.
name: Cow<'a, str>
Animation's name.
paused_state: bool
[Experimental] Animation's internal paused state.
play_state: Cow<'a, str>
Animation's play state.
playback_rate: f64
Animation's playback rate.
start_time: f64
Animation's start time.
current_time: f64
Animation's current time.
source: AnimationEffect<'a>
Animation's source animation node.
ty: AnimationType
Animation type of Animation.
css_id: Option<Cow<'a, str>>
A unique ID for Animation representing the sources that triggered this CSS animation/transition.
Trait Implementations
impl<'a> Clone for Animation<'a>[src]
fn clone(&self) -> Animation<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more