pub enum ToastEasing {
Linear,
EaseOut,
EaseIn,
EaseInOut,
Bounce,
}Expand description
Easing function for animations.
Simplified subset of easing curves for toast animations.
For the full set, see ftui_extras::text_effects::Easing.
Variants§
Linear
Linear interpolation.
EaseOut
Smooth ease-out (decelerating).
EaseIn
Smooth ease-in (accelerating).
EaseInOut
Smooth S-curve.
Bounce
Bouncy effect.
Implementations§
Trait Implementations§
Source§impl Clone for ToastEasing
impl Clone for ToastEasing
Source§fn clone(&self) -> ToastEasing
fn clone(&self) -> ToastEasing
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToastEasing
impl Debug for ToastEasing
Source§impl Default for ToastEasing
impl Default for ToastEasing
Source§fn default() -> ToastEasing
fn default() -> ToastEasing
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToastEasing
impl PartialEq for ToastEasing
impl Copy for ToastEasing
impl StructuralPartialEq for ToastEasing
Auto Trait Implementations§
impl Freeze for ToastEasing
impl RefUnwindSafe for ToastEasing
impl Send for ToastEasing
impl Sync for ToastEasing
impl Unpin for ToastEasing
impl UnwindSafe for ToastEasing
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