Function pareen::ease_in_out
source · pub fn ease_in_out<E, V>(
start: V,
delta: V,
duration: V
) -> Anim<impl Fun<T = V, V = V>>where
V: Float,
E: Easing<V>,
Expand description
Integrate an easing-in-out function from the
easer
library.
This is only available when enabling the easer
feature for pareen
.
Arguments
start
- The start value for the easing function.delta
- The change in the value from beginning to end time.duration
- The total time between beginning and end.
See also
Documentation for easer::functions::Easing
.