Enum i_slint_core::animations::EasingCurve
source · [−]Expand description
The representation of an easing curve, for animations
Variants
Linear
The linear curve
CubicBezier([f32; 4])
A Cubic bezier curve, with its 4 parameter
Trait Implementations
sourceimpl Clone for EasingCurve
impl Clone for EasingCurve
sourcefn clone(&self) -> EasingCurve
fn clone(&self) -> EasingCurve
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EasingCurve
impl Debug for EasingCurve
sourceimpl Default for EasingCurve
impl Default for EasingCurve
sourceimpl PartialEq<EasingCurve> for EasingCurve
impl PartialEq<EasingCurve> for EasingCurve
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &EasingCurve) -> bool
fn ne(&self, other: &EasingCurve) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more