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 ==.impl Copy for EasingCurve
impl StructuralPartialEq for EasingCurve
Auto Trait Implementations§
impl RefUnwindSafe for EasingCurve
impl Send for EasingCurve
impl Sync for EasingCurve
impl Unpin for EasingCurve
impl UnwindSafe for EasingCurve
Blanket Implementations§
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.