FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AnimationCompletion

    struct · ferroui-base · v0.5.0

    struct AnimationCompletion
    

    The guards of the batches a running animation belongs to. It is Send: it is created on the UI thread with the animation and moved to the server instance of the animation, which releases it when the animation is over.

    View source

    Members

    none

    fn none() -> AnimationCompletion
    

    The completion of an animation that belongs to no batch.

    Source

    is_empty

    fn is_empty(self: &Self) -> bool
    

    Whether the animation belongs to no batch (any more).

    Source

    release

    fn release(self: &mut Self)
    

    Tells the batches that the animation is over. Releasing again does nothing.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • Default

    Availability

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