Function macroquad::experimental::coroutines::tweens::linear
source · [−]pub fn linear<T, T1, F>(
handle: Handle<T1>,
lens: F,
from: T,
to: T,
time: f32
) -> LinearTweenFuture<T>ⓘNotable traits for LinearTweenFuture<T>impl<T> Future for LinearTweenFuture<T> where
T: Copy + Add<Output = T> + Sub<Output = T> + Mul<f32, Output = T>, type Output = ();
where
T: Copy + Add<Output = T> + Sub<Output = T> + Mul<f32, Output = T>,
T1: Node,
F: for<'r> FnMut(&'r mut T1) -> &'r mut T,