Expand description
Convenience facade for the Aura animation core and Iced integration.
Re-exports§
pub use aura_anim_core as core;pub use aura_anim_iced as iced;
Modules§
- field
- Type-safe field descriptors and independent struct field animations.
- prelude
- Common animation and Iced integration imports.
Macros§
- field
- Creates a type-safe descriptor for a struct field.
Structs§
- Field
- Describes an animatable field on
S. - Fields
- A deferred plan for animating fields of a struct independently.
- Fields
Animation - An animation that runs independent field animations in parallel.
- Hold
- An animation that keeps a value unchanged for a fixed duration.
- Interpolation
Progress - A normalized interpolation progress value.
- Keyframes
- An animation composed of time-positioned
Keyframevalues. - Motion
- A typed handle to an animation stored in a
MotionRuntime. - Motion
Binding - Reusable configuration that maps business states to motion targets.
- Motion
Binding State - Per-consumer state used with a reusable
MotionBinding. - Motion
Event - A structured runtime lifecycle event.
- Motion
Id - Identifies one runtime motion slot lifecycle.
- Motion
Runtime - Stores animations, advances active values, and queues lifecycle events.
- Parallel
- Runs child animations together and composes their output values.
- Playback
Id - Identifies one concrete playback on a motion.
- Presence
- Coordinates mounting and visibility around enter and exit animations.
- Sequence
- Runs child animations one after another.
- Spring
- An animation driven by one or more damped spring channels.
- Spring
Config - Physical parameters used by a
Springchannel. - Transition
Context - Owned values supplied to a
MotionBindingtransition factory. - Tween
- An animation that interpolates between two values using
Timing.
Enums§
- Animation
Command - A lifecycle command that can be sent to a runtime-managed animation.
- Animation
State - Lifecycle state of an animation.
- Interruption
Reason - Explains why an unfinished playback stopped.
- Motion
Binding Error - Failure returned while applying a motion binding.
- Motion
Error - Failure while accessing or modifying a runtime-managed motion.
- Motion
Event Kind - The lifecycle change represented by a
MotionEvent. - Removal
Reason - Explains why a motion left runtime storage.
- Retain
Policy - Controls whether the runtime retains an animation after it settles.
Traits§
- Animatable
- Marker trait for cloneable, owned values that can be animated.
- Animation
- A stateful source that produces animated values over time.
- Animation
Ext - Convenience methods for concrete animation sources.
- Interpolate
- Interpolates values of the same type.
- Into
Motion Animation - Converts a playback value into an animation for an existing motion.
- Motion
Event Target - A motion or playback that can be matched against a
MotionEvent.
Functions§
- fields
- Creates an empty field animation plan.
- spring_
to - Creates a deferred spring toward
target. - tween_
to - Creates a deferred tween toward
target.
Type Aliases§
- BoxAnimation
- A type-erased animation source.
- Timeline
- A sequential animation timeline.
- Tween
State - The lifecycle state of a
Tween.
Derive Macros§
- Animatable
- Derives field-by-field interpolation for a struct.