pub struct Easing {
pub type: EasingType,
pub easing_function_cubic_bezier: Option<Box<EasingEasingFunctionCubicBezier>>,
pub easing_function_spring: Option<Box<EasingEasingFunctionSpring>>,
}
Expand description
Easing : Describes an easing curve.
Fields§
§type: EasingType
The type of easing curve.
easing_function_cubic_bezier: Option<Box<EasingEasingFunctionCubicBezier>>
§easing_function_spring: Option<Box<EasingEasingFunctionSpring>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Easing
impl<'de> Deserialize<'de> for Easing
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
impl StructuralPartialEq for Easing
Auto Trait Implementations§
impl Freeze for Easing
impl RefUnwindSafe for Easing
impl Send for Easing
impl Sync for Easing
impl Unpin for Easing
impl UnwindSafe for Easing
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