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