BackEasingFunction
struct · ferroui-base · v0.5.0
struct BackEasingFunction
A curve that retracts before it moves (WinUI BackEasingFunction):
f(t) = t^3 - t * a * sin(pi t), a the amplitude (at least 0).
Members
new
fn new(mode: CompositionEasingFunctionMode, amplitude: f32) -> BackEasingFunction
mode
fn mode(self: &Self) -> CompositionEasingFunctionMode
The mode of the curve.
amplitude
fn amplitude(self: &Self) -> f32
How far the curve retracts.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqIEasingFrom<BackEasingFunction>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.