Struct easing_function::easings::EaseInOutQuintic
source · pub struct EaseInOutQuintic;
Expand description
An Easing
function that eases
in and out using a quintic (x^5) curve
See https://easings.net/#easeInOutQuint for a visualization and more information.
Implementations§
source§impl EaseInOutQuintic
impl EaseInOutQuintic
sourcepub fn ease(progress: f32) -> f32
pub fn ease(progress: f32) -> f32
Eases in and out using a quintic (x^5) curve
See https://easings.net/#easeInOutQuint for a visualization and more information.
Trait Implementations§
source§impl Clone for EaseInOutQuintic
impl Clone for EaseInOutQuintic
source§fn clone(&self) -> EaseInOutQuintic
fn clone(&self) -> EaseInOutQuintic
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 EaseInOutQuintic
impl Debug for EaseInOutQuintic
source§impl Easing for EaseInOutQuintic
impl Easing for EaseInOutQuintic
source§impl From<EaseInOutQuintic> for EasingFunction
impl From<EaseInOutQuintic> for EasingFunction
source§fn from(_function: EaseInOutQuintic) -> Self
fn from(_function: EaseInOutQuintic) -> Self
Converts to this type from the input type.
impl Copy for EaseInOutQuintic
Auto Trait Implementations§
impl Freeze for EaseInOutQuintic
impl RefUnwindSafe for EaseInOutQuintic
impl Send for EaseInOutQuintic
impl Sync for EaseInOutQuintic
impl Unpin for EaseInOutQuintic
impl UnwindSafe for EaseInOutQuintic
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
)