MaterialSpringEasing
struct · ferroui-themes-material · v0.5.0
struct MaterialSpringEasing
Bridges a physical spring to FerroUI's normalized-progress IEasing interface.
Use the matching duration; the same spring with an unrelated duration changes its physical
speed. This adapter starts with zero velocity because IEasing has no velocity channel.
Controls needing interruption continuity use MaterialSpringState instead.
Members
new
fn new(spec: MaterialSpringSpec, duration: SignedDuration, reduced_motion: bool) -> Self
spring_spec
fn spring_spec(self: &Self) -> MaterialSpringSpec
Parameters consumed by the velocity-preserving Material property transitions.
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>CloneDebugIEasing
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.