pub enum EasingIr {
Linear,
EaseIn,
EaseOut,
EaseInOut,
CubicBezier(f32, f32, f32, f32),
}Expand description
IR-side mirror of lumen_primitives::Easing. Cubic-bezier carries
its four control points; named curves are zero-sized.
Variants§
Linear
linear.
EaseIn
ease-in.
EaseOut
ease-out.
EaseInOut
ease-in-out.
CubicBezier(f32, f32, f32, f32)
cubic-bezier(p1x, p1y, p2x, p2y).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EasingIr
impl<'de> Deserialize<'de> for EasingIr
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 Copy for EasingIr
impl StructuralPartialEq for EasingIr
Auto Trait Implementations§
impl Freeze for EasingIr
impl RefUnwindSafe for EasingIr
impl Send for EasingIr
impl Sync for EasingIr
impl Unpin for EasingIr
impl UnsafeUnpin for EasingIr
impl UnwindSafe for EasingIr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.