Trait anim::animatable::Animatable[][src]

pub trait Animatable: Sized + Clone {
    fn animate(&self, to: &Self, time: f64) -> Self;
}
Expand description

generates output values based on its timing progress

see crate::Timeline

Types derives Animatable:

  • bool
  • i8
  • u8
  • i16
  • u16
  • i32
  • u32
  • i64
  • u64
  • f32
  • f64
  • i128
  • u168
  • Unit
  • Tuple
  • char
  • Option<T> where T:Animatable
  • PhantomData<T>
  • [T;N] where T:Animatable

Required methods

generates output values based on its timing progress

Implementations on Foreign Types

Implementors