pub fn repeat_n<A>(element: A, n: usize) -> RepeatN<A>ⓘNotable traits for RepeatN<A>impl<A> Iterator for RepeatN<A> where A: Clone, type Item = A; where A: Clone,
impl<A> Iterator for RepeatN<A> where A: Clone, type Item = A;
Create an iterator that produces n repetitions of element.
n
element