Skip to main content

Module animation

Module animation 

Source

Structs§

Transition
A composable transition that describes animated style changes.

Traits§

Lerp
Trait for types that support linear interpolation.

Functions§

cubic_bezier
A cubic bezier function like CSS cubic-bezier.
ease_in_cubic
Cubic ease-in — slow start, fast end. Good for exit animations.
ease_in_out_cubic
Cubic ease-in-out — slow start and end. Good for position transitions.
ease_out_cubic
Cubic ease-out — fast start, slow end. Good for enter animations.