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