BounceEasingFunction
struct · ferroui-base · v0.5.0
struct BounceEasingFunction
A bouncing curve (WinUI BounceEasingFunction): bounces bounces, each
bounciness times smaller than the one before.
Members
new
fn new(mode: CompositionEasingFunctionMode, bounces: i32, bounciness: f32) -> BounceEasingFunction
mode
fn mode(self: &Self) -> CompositionEasingFunctionMode
The mode of the curve.
bounces
fn bounces(self: &Self) -> i32
The number of bounces.
bounciness
fn bounciness(self: &Self) -> f32
The bounciness of the curve: a larger value makes the bounces shrink faster.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqIEasingFrom<BounceEasingFunction>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.