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