pub fn prop<T, V, W>(m: V) -> Anim<impl Fun<T = T, V = W>>
where
    V: Copy + Mul<Output = W> + From<T>,
{
    fun(move |t| m * From::from(t))
}
/// An animation that returns a value proportional to time.
///
/// # Example
///
/// Scale time with a factor of three:
/// ```
/// # use assert_approx_eq::assert_approx_eq;
/// let anim = pareen::prop(3.0f32);
///
/// assert_approx_eq!(anim.eval(0.0f32), 0.0);
/// assert_approx_eq!(anim.eval(3.0), 9.0);
/// ```
An animation that returns a value proportional to time.
An animation that returns a value proportional to time .
pub fn prop<T, V, W>(m: V) -> Anim<impl Fun<T = T, V = W>>
where
    V: Copy + Mul<Output = W> + From<T>,
{
    fun(move |t| m * From::from(t))
}
pub fn prop < T , V , W > ( m : V ) -> Anim < impl Fun < T = T , V = W > > where V : Copy + Mul < Output = W > + From < T > , { fun ( move | t | m * From :: from ( t ) ) }
An animation that returns a value proportional to time.
An animation that returns a value proportional to time .
m
V
example
Scale time with a factor of three:
```
Scale time with a factor of three : ` ` `
use assert_approx_eq::assert_approx_eq;
None