pub fn slice<'a, V>( slice: &'a [V] ) -> AnimWithDur<impl Fun<T = usize, V = V> + 'a>where V: Clone + 'a,