[−][src]Struct plotly_types::animation::Animation
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
Auto Trait Implementations
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,