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