Struct sixtyfps_corelib::animations::AnimationDriver[][src]

pub struct AnimationDriver { /* fields omitted */ }
Expand description

The AnimationDriver

Implementations

Iterates through all animations based on the new time tick and updates their state. This should be called by the windowing system driver for every frame.

Returns true if there are any active or ready animations. This is used by the windowing system to determine if a new animation frame is required or not. Returns false otherwise.

Tell the driver that there are active animations

The current instant that is to be used for animation using this function register the current binding as a dependency

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.