Skip to main content

Crate aura_anim

Crate aura_anim 

Source
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.
FieldsAnimation
An animation that runs independent field animations in parallel.
Hold
An animation that keeps a value unchanged for a fixed duration.
InterpolationProgress
A normalized interpolation progress value.
Keyframes
An animation composed of time-positioned Keyframe values.
Motion
A typed handle to an animation stored in a MotionRuntime.
MotionBinding
Reusable configuration that maps business states to motion targets.
MotionBindingState
Per-consumer state used with a reusable MotionBinding.
MotionEvent
A structured runtime lifecycle event.
MotionId
Identifies one runtime motion slot lifecycle.
MotionRuntime
Stores animations, advances active values, and queues lifecycle events.
Parallel
Runs child animations together and composes their output values.
PlaybackId
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.
SpringConfig
Physical parameters used by a Spring channel.
TransitionContext
Owned values supplied to a MotionBinding transition factory.
Tween
An animation that interpolates between two values using Timing.

Enums§

AnimationCommand
A lifecycle command that can be sent to a runtime-managed animation.
AnimationState
Lifecycle state of an animation.
InterruptionReason
Explains why an unfinished playback stopped.
MotionBindingError
Failure returned while applying a motion binding.
MotionError
Failure while accessing or modifying a runtime-managed motion.
MotionEventKind
The lifecycle change represented by a MotionEvent.
RemovalReason
Explains why a motion left runtime storage.
RetainPolicy
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.
AnimationExt
Convenience methods for concrete animation sources.
Interpolate
Interpolates values of the same type.
IntoMotionAnimation
Converts a playback value into an animation for an existing motion.
MotionEventTarget
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.
TweenState
The lifecycle state of a Tween.

Derive Macros§

Animatable
Derives field-by-field interpolation for a struct.