pub enum Easing {
LinearEasing,
EaseIn,
EaseOut,
EaseInOut,
FastOutSlowInEasing,
LinearOutSlowInEasing,
FastOutLinearEasing,
}Expand description
Easing functions for animations matching Jetpack Compose.
Variants§
LinearEasing
Linear interpolation (no easing). Jetpack Compose: LinearEasing
EaseIn
Ease in using cubic curve. Jetpack Compose: EaseIn (not a standard constant, but supported)
EaseOut
Ease out using cubic curve. Jetpack Compose: EaseOut (not a standard constant, but supported)
EaseInOut
Ease in and out using cubic curve. Jetpack Compose: EaseInOut (not a standard constant, but supported)
FastOutSlowInEasing
Fast out, slow in (material design standard). Jetpack Compose: FastOutSlowInEasing
LinearOutSlowInEasing
Linear out, slow in (material design). Jetpack Compose: LinearOutSlowInEasing
FastOutLinearEasing
Fast out, linear in (material design). Jetpack Compose: FastOutLinearEasing
Implementations§
Trait Implementations§
impl Copy 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