Trait microbit_text::scrolling::Animate[][src]

pub trait Animate {
    fn is_finished(&self) -> bool;
fn reset(&mut self);
fn tick(&mut self); }
Expand description

The state of an animation.

Required methods

Say whether the animation has completed.

Reset the animation to the beginning.

Advance to the next step of the animation.

If the animation has completed, does nothing.

Implementors