pub enum AnimationCurve {
Linear,
EaseIn,
EaseOut,
EaseInOut,
}
Expand description
The curve of a simple animation.
Variants§
Trait Implementations§
Source§impl Clone for AnimationCurve
impl Clone for AnimationCurve
Source§fn clone(&self) -> AnimationCurve
fn clone(&self) -> AnimationCurve
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 AnimationCurve
impl Debug for AnimationCurve
Source§impl<'de> Deserialize<'de> for AnimationCurve
impl<'de> Deserialize<'de> for AnimationCurve
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 Display for AnimationCurve
impl Display for AnimationCurve
Source§impl PartialEq for AnimationCurve
impl PartialEq for AnimationCurve
Source§impl Serialize for AnimationCurve
impl Serialize for AnimationCurve
impl Copy for AnimationCurve
impl StructuralPartialEq for AnimationCurve
Auto Trait Implementations§
impl Freeze for AnimationCurve
impl RefUnwindSafe for AnimationCurve
impl Send for AnimationCurve
impl Sync for AnimationCurve
impl Unpin for AnimationCurve
impl UnwindSafe for AnimationCurve
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