[][src]Struct plotly_types::animation::Animation

pub struct Animation { /* fields omitted */ }

Implementations

impl Animation[src]

pub fn mode(&mut self, mode: Mode) -> &mut Self[src]

Describes how a new animate call interacts with currently-running animations. If immediate, current animations are interrupted and the new animation is started. If next, the current frame is allowed to complete, after which the new animation is started. If afterall all existing frames are animated to completion before the new animation is started.

default: afterall

pub fn direction(&mut self, direction: Direction) -> &mut Self[src]

The direction in which to play the frames triggered by the animation call

default: forward

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

Play frames starting at the current frame instead of the beginning.

default: false

pub fn frame(&mut self) -> &mut Frame[src]

pub fn transition(&mut self) -> &mut Transition[src]

Trait Implementations

impl Default for Animation[src]

impl Serialize for Animation[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, 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.