ExponentialEasingFunction
struct · ferroui-base · v0.5.0
struct ExponentialEasingFunction
An exponential curve (WinUI ExponentialEasingFunction):
f(t) = (e^(k t) - 1) / (e^k - 1), k the exponent (linear for 0).
Members
new
fn new(mode: CompositionEasingFunctionMode, exponent: f32) -> ExponentialEasingFunction
mode
fn mode(self: &Self) -> CompositionEasingFunctionMode
The mode of the curve.
exponent
fn exponent(self: &Self) -> f32
The exponent of the curve.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqIEasingFrom<ExponentialEasingFunction>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.