Enum amethyst_animation::ControlState [] [src]

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

State of animation

Variants

Animation was just requested, not started yet

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]

[src]

Is the state Running

[src]

Is the state Paused

Trait Implementations

impl Debug for ControlState
[src]

[src]

Formats the value using the given formatter.

impl Clone for ControlState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ControlState
[src]

[src]

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

[src]

This method tests for !=.