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