[][src]Function itertools::repeat_n

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.