pub struct AnimationSequence<T: Interpolate> { /* private fields */ }Expand description
Animation sequence that runs animations one after another
§Example
use armas_basic::animation::{Animation, AnimationSequence, EasingFunction};
let seq = AnimationSequence::new()
.then(Animation::new(0.0_f32, 1.0, 0.3), 0.0)
.then(Animation::new(1.0_f32, 0.5, 0.2), 0.1);Implementations§
Source§impl<T: Interpolate> AnimationSequence<T>
impl<T: Interpolate> AnimationSequence<T>
Trait Implementations§
Source§impl<T: Debug + Interpolate> Debug for AnimationSequence<T>
impl<T: Debug + Interpolate> Debug for AnimationSequence<T>
Source§impl<T: Interpolate> Default for AnimationSequence<T>
impl<T: Interpolate> Default for AnimationSequence<T>
Auto Trait Implementations§
impl<T> Freeze for AnimationSequence<T>
impl<T> RefUnwindSafe for AnimationSequence<T>where
T: RefUnwindSafe,
impl<T> Send for AnimationSequence<T>where
T: Send,
impl<T> Sync for AnimationSequence<T>where
T: Sync,
impl<T> Unpin for AnimationSequence<T>where
T: Unpin,
impl<T> UnsafeUnpin for AnimationSequence<T>
impl<T> UnwindSafe for AnimationSequence<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more