pub enum EasingType {
Show 13 variants
EaseIn,
EaseOut,
EaseInAndOut,
Linear,
EaseInBack,
EaseOutBack,
EaseInAndOutBack,
CustomBezier,
Gentle,
Quick,
Bouncy,
Slow,
CustomSpring,
}Expand description
Animation easing curves
Variants§
EaseIn
Ease in with an animation curve similar to CSS ease-in
EaseOut
Ease out with an animation curve similar to CSS ease-out
EaseInAndOut
Ease in and then out with an animation curve similar to CSS ease-in-out
Linear
No easing, similar to CSS linear
EaseInBack
EaseOutBack
EaseInAndOutBack
CustomBezier
Gentle
Quick
Bouncy
Slow
CustomSpring
Trait Implementations§
Source§impl Debug for EasingType
impl Debug for EasingType
Source§impl<'de> Deserialize<'de> for EasingType
impl<'de> Deserialize<'de> for EasingType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EasingType
impl RefUnwindSafe for EasingType
impl Send for EasingType
impl Sync for EasingType
impl Unpin for EasingType
impl UnwindSafe for EasingType
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