Struct chrome_remote_interface_model::animation::AnimationBuilder[][src]

pub struct AnimationBuilder { /* fields omitted */ }

Implementations

impl AnimationBuilder[src]

pub fn id(&mut self, v: String) -> &mut Self[src]

Animation's id.

pub fn name(&mut self, v: String) -> &mut Self[src]

Animation's name.

pub fn paused_state(&mut self, v: bool) -> &mut Self[src]

Animation's internal paused state.

pub fn play_state(&mut self, v: String) -> &mut Self[src]

Animation's play state.

pub fn playback_rate(&mut self, v: f64) -> &mut Self[src]

Animation's playback rate.

pub fn start_time(&mut self, v: f64) -> &mut Self[src]

Animation's start time.

pub fn current_time(&mut self, v: f64) -> &mut Self[src]

Animation's current time.

pub fn type(&mut self, v: AnimationType) -> &mut Self[src]

Animation type of Animation.

pub fn source(&mut self, v: AnimationEffect) -> &mut Self[src]

Animation's source animation node.

pub fn css_id(&mut self, v: String) -> &mut Self[src]

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

pub fn build(&mut self) -> Result<Animation, &'static str>[src]

Trait Implementations

impl Clone for AnimationBuilder[src]

impl Debug for AnimationBuilder[src]

impl Default for AnimationBuilder[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> 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.