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