Skip to main content

Module motion

Module motion 

Source

Structs§

Discrete
Keyframe
Keyframes
LinearStop
One output and its optional input position in a CSS-like linear() curve.
MotionReveal
A measured, clipped vertical reveal driven by normalized progress.
MotionTransform
A presentation-neutral bundle for coordinated paint transforms.
MotionValue
Presence
PresenceSample
Spring
A physical spring policy for spring.
Stagger
Timing
TimingSample
Transition
CSS-like timing policy for a target-value transition.
TransitionId
Identifies one independently transitioning value.

Enums§

DiscreteError
Easing
A cheap, cloneable CSS-compatible easing policy.
EasingError
Invalid easing configuration.
IterationCount
KeyframeError
MotionPhase
MotionStatus
PlaybackDirection
PresencePhase
SignedDuration
SpringError
Invalid physical or settling parameters for a Spring.
StaggerOrigin
StepPosition
The point at which a stepped easing jumps.

Traits§

Interpolate
A value that can be interpolated between two application-owned targets.

Functions§

animate_keyframes
Samples a keyed keyframe playback and requests frames while it is active.
spring
Returns the current value for a spring travelling toward target.
transition
Returns the current value for a CSS-like transition toward target.
transition_with_status