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