pub enum Easing {
Linear,
CubicBezier(CubicBezier),
Steps(Steps),
PiecewiseLinear(Box<[LinearStop]>),
Custom(Arc<dyn Fn(f32) -> f32 + Send + Sync + 'static>),
}Variants§
Linear
CubicBezier(CubicBezier)
Steps(Steps)
PiecewiseLinear(Box<[LinearStop]>)
Custom(Arc<dyn Fn(f32) -> f32 + Send + Sync + 'static>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Easing
impl !UnwindSafe for Easing
impl Freeze for Easing
impl Send for Easing
impl Sync for Easing
impl Unpin for Easing
impl UnsafeUnpin 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