MaterialAppBarFling
struct · ferroui-themes-material · v0.5.0
struct MaterialAppBarFling
Native Android spline decay, including its 100-sample interpolation and millisecond clock.
Members
new
fn new(velocity: f64) -> Self
duration_seconds
fn duration_seconds(self: Self) -> f64
target_distance
fn target_distance(self: Self) -> f64
sample
fn sample(self: Self, seconds: f64) -> (f64, f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherCastableFrom<ST, Uninit, Uninit>CastableFrom<ST, Initialized, Initialized>Read<Exclusive, BecauseExclusive>CloneCopyDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.