pub enum MotionEasing {
Show 17 variants
Linear,
EaseInOut,
EaseIn,
EaseOut,
Anticipate,
Overshoot,
Bounce,
AccelerateFactor(f32),
DecelerateFactor(f32),
AnticipateTension(f32),
OvershootTension(f32),
AnticipateOvershoot(f32),
Cycle(f32),
Cubic([f32; 4]),
Schlick(f32, f32),
Spline(&'static [f32]),
Path(&'static [(f32, f32)]),
}Expand description
The MotionScene curve maps normalized timeline progress to layout progress.
Variants§
Linear
EaseInOut
EaseIn
EaseOut
Anticipate
Overshoot
Bounce
AccelerateFactor(f32)
DecelerateFactor(f32)
AnticipateTension(f32)
OvershootTension(f32)
AnticipateOvershoot(f32)
Cycle(f32)
Cubic([f32; 4])
Schlick(f32, f32)
Spline(&'static [f32])
Path(&'static [(f32, f32)])
Trait Implementations§
Source§impl Clone for MotionEasing
impl Clone for MotionEasing
impl Copy for MotionEasing
Auto Trait Implementations§
impl Forget for MotionEasing
impl Freeze for MotionEasing
impl Move for MotionEasing
impl RefUnwindSafe for MotionEasing
impl Send for MotionEasing
impl Sync for MotionEasing
impl Unpin for MotionEasing
impl UnsafeUnpin for MotionEasing
impl UnwindSafe for MotionEasing
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