pub enum Easing {
Show 13 variants
Linear,
QuadIn,
QuadOut,
QuadInOut,
CubicIn,
CubicOut,
CubicInOut,
QuartOut,
SineInOut,
ExpoOut,
BackOut,
ElasticOut,
BounceOut,
}Expand description
Standard easing curves (Penner-style), all mapping t∈[0,1] → [0,1].
Variants§
Linear
QuadIn
QuadOut
QuadInOut
CubicIn
CubicOut
CubicInOut
QuartOut
SineInOut
ExpoOut
BackOut
ElasticOut
BounceOut
Implementations§
Trait Implementations§
impl Copy for Easing
impl Eq for Easing
impl StructuralPartialEq for Easing
Auto Trait Implementations§
impl Freeze for Easing
impl RefUnwindSafe for Easing
impl Send for Easing
impl Sync for Easing
impl Unpin for Easing
impl UnsafeUnpin for Easing
impl UnwindSafe for Easing
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