Struct easing_function::easings::EaseOutElastic
source · pub struct EaseOutElastic;
Expand description
An Easing
function that eases
out using a curve that bounces around the start initially then quickly accelerates
See https://easings.net/#easeOutElastic for a visualization and more information.
Implementations§
source§impl EaseOutElastic
impl EaseOutElastic
sourcepub fn ease(progress: f32) -> f32
pub fn ease(progress: f32) -> f32
Eases out using a curve that bounces around the start initially then quickly accelerates
See https://easings.net/#easeOutElastic for a visualization and more information.
Trait Implementations§
source§impl Clone for EaseOutElastic
impl Clone for EaseOutElastic
source§fn clone(&self) -> EaseOutElastic
fn clone(&self) -> EaseOutElastic
Returns a copy 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 EaseOutElastic
impl Debug for EaseOutElastic
source§impl Easing for EaseOutElastic
impl Easing for EaseOutElastic
source§impl From<EaseOutElastic> for EasingFunction
impl From<EaseOutElastic> for EasingFunction
source§fn from(_function: EaseOutElastic) -> Self
fn from(_function: EaseOutElastic) -> Self
Converts to this type from the input type.
impl Copy for EaseOutElastic
Auto Trait Implementations§
impl Freeze for EaseOutElastic
impl RefUnwindSafe for EaseOutElastic
impl Send for EaseOutElastic
impl Sync for EaseOutElastic
impl Unpin for EaseOutElastic
impl UnwindSafe for EaseOutElastic
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)