Enum amethyst_animation::ControlState
[−]
[src]
pub enum ControlState { Requested, Running(Duration), Paused(Duration), Abort, Done, }
State of animation
Variants
Requested
Animation was just requested, not started yet
Running(Duration)
Animation is running, contains last animation tick, and accumulated duration
Paused(Duration)
Animation is paused at the accumulated duration
Abort
Request termination of the animation
Done
Animation is completed
Methods
impl ControlState
[src]
fn is_running(&self) -> bool
[src]
Is the state Running
fn is_paused(&self) -> bool
[src]
Is the state Paused
Trait Implementations
impl Debug for ControlState
[src]
impl Clone for ControlState
[src]
fn clone(&self) -> ControlState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ControlState
[src]
fn eq(&self, __arg_0: &ControlState) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ControlState) -> bool
[src]
This method tests for !=
.