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.
Members
none
fn none() -> AnimationCompletion
The completion of an animation that belongs to no batch.
is_empty
fn is_empty(self: &Self) -> bool
Whether the animation belongs to no batch (any more).
release
fn release(self: &mut Self)
Tells the batches that the animation is over. Releasing again does nothing.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.