pub enum EasingCurve {
Linear,
Ease,
CubicBezier(f32, f32, f32, f32),
Named(String),
}Variants§
Trait Implementations§
Source§impl Clone for EasingCurve
impl Clone for EasingCurve
Source§fn clone(&self) -> EasingCurve
fn clone(&self) -> EasingCurve
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 EasingCurve
impl Debug for EasingCurve
Source§impl<'de> Deserialize<'de> for EasingCurve
impl<'de> Deserialize<'de> for EasingCurve
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EasingCurve
impl PartialEq for EasingCurve
Source§fn eq(&self, other: &EasingCurve) -> bool
fn eq(&self, other: &EasingCurve) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EasingCurve
impl Serialize for EasingCurve
impl StructuralPartialEq for EasingCurve
Auto Trait Implementations§
impl Freeze for EasingCurve
impl RefUnwindSafe for EasingCurve
impl Send for EasingCurve
impl Sync for EasingCurve
impl Unpin for EasingCurve
impl UnsafeUnpin for EasingCurve
impl UnwindSafe for EasingCurve
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