Enum i_slint_core::animations::EasingCurve
source · #[repr(C, u32)]
pub enum EasingCurve {
Linear,
CubicBezier([f32; 4]),
}Expand description
The representation of an easing curve, for animations
Variants§
Trait Implementations§
source§impl Clone for EasingCurve
impl Clone for EasingCurve
source§fn clone(&self) -> EasingCurve
fn clone(&self) -> EasingCurve
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 EasingCurve
impl Debug for EasingCurve
source§impl Default for EasingCurve
impl Default for EasingCurve
source§fn default() -> EasingCurve
fn default() -> EasingCurve
Returns the “default value” for a type. Read more
source§impl PartialEq<EasingCurve> for EasingCurve
impl PartialEq<EasingCurve> for EasingCurve
source§fn eq(&self, other: &EasingCurve) -> bool
fn eq(&self, other: &EasingCurve) -> bool
This method tests for
self and other values to be equal, and is used
by ==.