pub enum Easing {
Show 25 variants
Linear,
QuadIn,
QuadOut,
QuadInOut,
CubicIn,
CubicOut,
CubicInOut,
QuartIn,
QuartOut,
QuartInOut,
SineIn,
SineOut,
SineInOut,
ExpoIn,
ExpoOut,
ExpoInOut,
BackIn,
BackOut,
BackInOut,
BounceIn,
BounceOut,
BounceInOut,
ElasticIn,
ElasticOut,
ElasticInOut,
}Expand description
Animation easing curve.
Variants§
Linear
Linear (no smoothing).
QuadIn
QuadOut
QuadInOut
CubicIn
CubicOut
CubicInOut
QuartIn
QuartOut
QuartInOut
SineIn
SineOut
SineInOut
ExpoIn
ExpoOut
ExpoInOut
BackIn
Slight backward “overshoot” at the start.
BackOut
Slight “overshoot” at the end.
BackInOut
BounceIn
Damped “bounce” at the start.
BounceOut
Damped “bounce” at the end.
BounceInOut
ElasticIn
Spring at the start.
ElasticOut
Spring at the end.
ElasticInOut
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