Struct chrome_remote_interface_model::animation::AnimationStartedEvent[][src]

pub struct AnimationStartedEvent { /* fields omitted */ }

Event for animation that has been started.

Implementations

impl AnimationStartedEvent[src]

pub fn new(animation: Animation) -> Self[src]

pub fn animation(&self) -> &Animation[src]

Animation that was started.

Methods from Deref<Target = Animation>

pub fn id(&self) -> &str[src]

Animation's id.

pub fn name(&self) -> &str[src]

Animation's name.

pub fn paused_state(&self) -> bool[src]

Animation's internal paused state.

pub fn play_state(&self) -> &str[src]

Animation's play state.

pub fn playback_rate(&self) -> f64[src]

Animation's playback rate.

pub fn start_time(&self) -> f64[src]

Animation's start time.

pub fn current_time(&self) -> f64[src]

Animation's current time.

pub fn type(&self) -> &AnimationType[src]

Animation type of Animation.

pub fn source(&self) -> Option<&AnimationEffect>[src]

Animation's source animation node.

pub fn css_id(&self) -> Option<&String>[src]

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

Trait Implementations

impl Clone for AnimationStartedEvent[src]

impl Debug for AnimationStartedEvent[src]

impl Deref for AnimationStartedEvent[src]

type Target = Animation

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for AnimationStartedEvent[src]

impl Serialize for AnimationStartedEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.