pub enum Animation {
Done,
Jump,
Linear,
ExpA(f32),
ExpB(f32),
Fade,
Layer,
}Expand description
Variants§
Done
Must be the last value.
Jump
No animation
Linear
Constant speed
ExpA(f32)
Faster at beginning and end of animation(amount_faster: f32)
ExpB(f32)
Slower at beginning and end of animation
Fade
Fade
Layer
SrcOver each frame without clearing
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
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