Module animation

Module animation 

Source
Expand description

Var animation types and functions.

Modules§

easing
Common easing functions.

Structs§

Animation
Represents an animation in its closure.
AnimationHandle
Represents a running animation.
ChaseAnimation
Represents the editable final value of a Var::chase animation.
ForceAnimationController
An AnimationController that forces animations to run even if animations are not enabled.
ModifyInfo
Represents the current modify operation when it is applying.
TRANSITIONABLE_APP
API for app implementers to replace the transitionable implementation for foreign types.
Transition
Represents a simple transition between two values.
TransitionKeyed
Represents a transition across multiple keyed values that can be sampled using EasingStep.
WeakAnimationHandle
Weak AnimationHandle.

Traits§

AnimationController
Animations controller.
AnimationTimer
View on an app loop timer.
Transitionable
Represents a type that can be animated between two values.

Functions§

is_slerp_enabled
Gets if slerp mode is enabled in the context.
slerp_enabled
Calls f with is_slerp_enabled set to enabled.
slerp_sampler
Spherical linear interpolation sampler.

Derive Macros§

Transitionable
Implement transition by delegating all type parts.