FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialAppBarFling

    struct · ferroui-themes-material · v0.5.0

    struct MaterialAppBarFling
    

    Native Android spline decay, including its 100-sample interpolation and millisecond clock.

    View source

    Members

    new

    fn new(velocity: f64) -> Self
    

    Source

    duration_seconds

    fn duration_seconds(self: Self) -> f64
    

    Source

    target_distance

    fn target_distance(self: Self) -> f64
    

    Source

    sample

    fn sample(self: Self, seconds: f64) -> (f64, f64)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • CastableFrom<ST, Uninit, Uninit>
    • CastableFrom<ST, Initialized, Initialized>
    • Read<Exclusive, BecauseExclusive>
    • Clone
    • Copy
    • Debug

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.