Skip to main content

rep_each_then_times

Function rep_each_then_times 

Source
fn rep_each_then_times<T: Clone>(
    vals: &[T],
    each: usize,
    times: usize,
) -> Vec<T>
Expand description

Repeat each element each times, then repeat the whole result times times.