Function repeat_n

Source
pub fn repeat_n<T>(value: T, count: usize) -> RepeatN<T>
where T: Clone,
Expand description

Creates an iterable which yields the same value n times.