pub trait Animate {
// Required methods
fn is_finished(&self) -> bool;
fn reset(&mut self);
fn tick(&mut self);
}
Expand description
The state of an animation.
Required Methods§
Sourcefn is_finished(&self) -> bool
fn is_finished(&self) -> bool
Say whether the animation has completed.