Searched refs:repeat_n (Results 1 – 5 of 5) sorted by relevance
13 pub fn repeat_n<A>(element: A, n: usize) -> RepeatN<A> in repeat_n() function
174 pub use crate::repeatn::repeat_n;
181 let mut it = it::repeat_n(s, 3); in repeatn()213 let it = it::repeat_n(f, n); in count_clones()
810 let it = itertools::repeat_n(x, n);
152 - Add free function constructor `repeat_n`. `RepeatN::new` is now deprecated.