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