PowerEasingFunction
struct · ferroui-base · v0.5.0
struct PowerEasingFunction
A power curve (WinUI PowerEasingFunction): f(t) = t^p, p the power
(at least 0).
Members
new
fn new(mode: CompositionEasingFunctionMode, power: f32) -> PowerEasingFunction
mode
fn mode(self: &Self) -> CompositionEasingFunctionMode
The mode of the curve.
power
fn power(self: &Self) -> f32
The power of the curve.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqIEasingFrom<PowerEasingFunction>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.