Enum amethyst_animation::ControlState[][src]

pub enum ControlState {
    Requested,
    Deferred(Duration),
    Running(Duration),
    Paused(Duration),
    Abort,
    Done,
}

State of animation

Variants

Animation was just requested, not started yet

Deferred start

Animation is running, contains last animation tick, and accumulated duration

Animation is paused at the accumulated duration

Request termination of the animation

Animation is completed

Methods

impl ControlState
[src]

Is the state Running

Is the state Paused

Trait Implementations

impl Debug for ControlState
[src]

Formats the value using the given formatter. Read more

impl Clone for ControlState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ControlState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations