pub enum Easing {}Expand description
The set of easing curves in the Material specification.
See also:
- M3 guidelines: Easing tokens
- M3 guidelines: Applying easing and duration
Curves, for a collection of non-Material animation easing curves.
Implementations§
Source§impl Easing
impl Easing
Sourcepub fn emphasized_accelerate() -> Rc<dyn Curve>
pub fn emphasized_accelerate() -> Rc<dyn Curve>
The emphasizedAccelerate easing curve in the Material specification.
See also:
Sourcepub fn emphasized_decelerate() -> Rc<dyn Curve>
pub fn emphasized_decelerate() -> Rc<dyn Curve>
The emphasizedDecelerate easing curve in the Material specification.
See also:
Sourcepub fn linear() -> Rc<dyn Curve>
pub fn linear() -> Rc<dyn Curve>
The linear easing curve in the Material specification.
See also:
Sourcepub fn standard() -> Rc<dyn Curve>
pub fn standard() -> Rc<dyn Curve>
The standard easing curve in the Material specification.
See also:
Sourcepub fn standard_accelerate() -> Rc<dyn Curve>
pub fn standard_accelerate() -> Rc<dyn Curve>
The standardAccelerate easing curve in the Material specification.
See also:
Sourcepub fn standard_decelerate() -> Rc<dyn Curve>
pub fn standard_decelerate() -> Rc<dyn Curve>
The standardDecelerate easing curve in the Material specification.
See also:
Sourcepub fn legacy_decelerate() -> Rc<dyn Curve>
pub fn legacy_decelerate() -> Rc<dyn Curve>
The legacyDecelerate easing curve in the Material specification.
See also:
Sourcepub fn legacy_accelerate() -> Rc<dyn Curve>
pub fn legacy_accelerate() -> Rc<dyn Curve>
The legacyAccelerate easing curve in the Material specification.
See also:
Auto Trait Implementations§
impl Forget for Easing
impl Freeze for Easing
impl Move 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