pub enum EasingChoice {
Named(String),
Curve(Easing),
}Expand description
A timing curve: linear, a CSS name (ease, ease-in, ease-out, ease-in-out) or a
project easing object.
Variants§
Named(String)
linear, ease, ease-in, ease-out or ease-in-out, with the CSS curves.
Curve(Easing)
A project easing.
Trait Implementations§
Source§impl Clone for EasingChoice
impl Clone for EasingChoice
Source§impl Debug for EasingChoice
impl Debug for EasingChoice
Source§impl<'de> Deserialize<'de> for EasingChoice
impl<'de> Deserialize<'de> for EasingChoice
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EasingChoice
impl PartialEq for EasingChoice
Source§impl Serialize for EasingChoice
impl Serialize for EasingChoice
impl StructuralPartialEq for EasingChoice
Auto Trait Implementations§
impl Freeze for EasingChoice
impl RefUnwindSafe for EasingChoice
impl Send for EasingChoice
impl Sync for EasingChoice
impl Unpin for EasingChoice
impl UnsafeUnpin for EasingChoice
impl UnwindSafe for EasingChoice
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