Function itertools::repeat_n
[−]
[src]
ⓘImportant traits for RepeatN<A>
pub fn repeat_n<A>(element: A, n: usize) -> RepeatN<A> where
A: Clone,
Create an iterator that produces n
repetitions of element
.