Crate eazy

Crate eazy 

Source

Modules§

callback
Callback system for animation lifecycle events.
control
Playback control interface for animations.
easing
Each functions is grouped by context:
interpolation
keyframe
Keyframe definition for animation tracks.
position
Timeline positioning system for sequencing animations.
repeat
Repeat and yoyo configuration for animations.
stagger
Stagger system for cascading animations.
timeline
Timeline for sequencing and controlling multiple animations.
track
Keyframe track for sampling interpolated values over time.
tween
Core tween animation state machine.
value
Tweenable values for animation interpolation.

Macros§

keyframes
Create a KeyframeTrack from a list of keyframe tuples.

Structs§

Callbacks
Collection of lifecycle callbacks for a tween or timeline.
Keyframe
A keyframe representing a value at a specific time.
KeyframeTrack
A track containing keyframes that can be sampled at any time.
RepeatConfig
Complete repeat configuration for a tween.
Stagger
Configuration for staggering multiple animations.
Timeline
A timeline that sequences and controls multiple animations.
TimelineBuilder
Builder for creating timelines with a fluent API.
Tween
A tween that interpolates between two values of type T.
TweenBuilder
Builder for creating tweens with fluent API.

Enums§

Callback
A callback that can be either synchronous or asynchronous.
Direction
The playback direction of an animation.
Easing
The Easing Function User Access.
Position
Specifies when a child animation starts within a timeline.
Repeat
How many times an animation should repeat.
StaggerFrom
Direction from which staggering originates.
TweenState
The current state of an animation.

Traits§

Controllable
Shared interface for controllable animations.
Curve
The Curve Parabola Interface.
CurveSIMD
The Curve Parabola Interface using SIMD.
Ease
The Ease Function Interface.
Tweenable
A value that can be interpolated between two points.

Functions§

calculate_stagger_delays
Calculate stagger delays for a collection of items.
ease
The Ease Function.
keyframe
Convenience function to create a keyframe.
keyframe_eased
Convenience function to create a keyframe with easing.

Type Aliases§

AsyncCallback
An asynchronous callback function that returns a pinned future.
SyncCallback
A synchronous callback function.