Enum timeline_rs::easing::EasingFunction
source · pub enum EasingFunction {
Linear = 0,
Sine = 1,
Circular = 2,
Quadratic = 3,
Cubic = 4,
Quartic = 5,
Quintic = 6,
Exponential = 7,
Back = 8,
Bounce = 9,
Elastic = 10,
}Variants§
Linear = 0
Sine = 1
Circular = 2
Quadratic = 3
Cubic = 4
Quartic = 5
Quintic = 6
Exponential = 7
Back = 8
Bounce = 9
Elastic = 10
Trait Implementations§
source§impl Clone for EasingFunction
impl Clone for EasingFunction
source§fn clone(&self) -> EasingFunction
fn clone(&self) -> EasingFunction
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 EasingFunction
impl Debug for EasingFunction
source§impl Default for EasingFunction
impl Default for EasingFunction
source§fn default() -> EasingFunction
fn default() -> EasingFunction
Returns the “default value” for a type. Read more
source§impl From<u8> for EasingFunction
impl From<u8> for EasingFunction
source§impl Hash for EasingFunction
impl Hash for EasingFunction
source§impl PartialEq for EasingFunction
impl PartialEq for EasingFunction
source§fn eq(&self, other: &EasingFunction) -> bool
fn eq(&self, other: &EasingFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for EasingFunction
impl Eq for EasingFunction
impl StructuralPartialEq for EasingFunction
Auto Trait Implementations§
impl Freeze for EasingFunction
impl RefUnwindSafe for EasingFunction
impl Send for EasingFunction
impl Sync for EasingFunction
impl Unpin for EasingFunction
impl UnwindSafe for EasingFunction
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