pub enum MotionCurve {
Linear,
Ease,
EaseIn,
EaseOut,
EaseInOut,
}Expand description
Semantic motion curve.
Variants§
Trait Implementations§
Source§impl Clone for MotionCurve
impl Clone for MotionCurve
Source§fn clone(&self) -> MotionCurve
fn clone(&self) -> MotionCurve
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MotionCurve
impl Debug for MotionCurve
Source§impl Hash for MotionCurve
impl Hash for MotionCurve
Source§impl Ord for MotionCurve
impl Ord for MotionCurve
Source§fn cmp(&self, other: &MotionCurve) -> Ordering
fn cmp(&self, other: &MotionCurve) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MotionCurve
impl PartialEq for MotionCurve
Source§fn eq(&self, other: &MotionCurve) -> bool
fn eq(&self, other: &MotionCurve) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MotionCurve
impl PartialOrd for MotionCurve
impl Copy for MotionCurve
impl Eq for MotionCurve
impl StructuralPartialEq for MotionCurve
Auto Trait Implementations§
impl Freeze for MotionCurve
impl RefUnwindSafe for MotionCurve
impl Send for MotionCurve
impl Sync for MotionCurve
impl Unpin for MotionCurve
impl UnsafeUnpin for MotionCurve
impl UnwindSafe for MotionCurve
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