[−][src]Trait silver_animation::Resetable
This trait can be implemented if an animation can be reset (Go back to the first frame)
Required methods
fn reset(&mut self)
Implementors
impl<Animation, Size, Combined> Resetable for BasicAnimationContainer<Animation, Size, Combined> where
Animation: BasicAnimation<Size, Combined> + Resetable,
Combined: AnimationShape<Size>,
[src]
Animation: BasicAnimation<Size, Combined> + Resetable,
Combined: AnimationShape<Size>,
impl<T, DrawFunc, MaxFrames> Resetable for Linear<T, DrawFunc, MaxFrames> where
DrawFunc: Fn(&mut T, usize, &mut Graphics, Rectangle) -> Result<()>,
MaxFrames: Fn(&T) -> usize,
[src]
DrawFunc: Fn(&mut T, usize, &mut Graphics, Rectangle) -> Result<()>,
MaxFrames: Fn(&T) -> usize,