Home
last modified time | relevance | path

Searched refs:RepeatN (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/itertools/src/
Drepeatn.rs7 pub struct RepeatN<A> { struct
13 pub fn repeat_n<A>(element: A, n: usize) -> RepeatN<A> in repeat_n() argument
17 RepeatN { elt: None, n, } in repeat_n()
19 RepeatN { elt: Some(element), n, } in repeat_n()
23 impl<A> Iterator for RepeatN<A> implementation
43 impl<A> DoubleEndedIterator for RepeatN<A> implementation
52 impl<A> ExactSizeIterator for RepeatN<A> implementation
Dlib.rs144 pub use crate::repeatn::RepeatN;
/external/rust/crates/rayon/src/iter/
Drepeat.rs39 pub fn take(self, n: usize) -> RepeatN<T> { in take()
46 pub fn zip<Z>(self, zip_op: Z) -> Zip<RepeatN<T>, Z::Iter> in zip()
103 pub struct RepeatN<T: Clone + Send> { struct
119 pub fn repeatn<T: Clone + Send>(elt: T, n: usize) -> RepeatN<T> { in repeatn() argument
120 RepeatN { in repeatn()
126 impl<T> ParallelIterator for RepeatN<T> implementation
144 impl<T> IndexedParallelIterator for RepeatN<T> implementation
Dmod.rs180 repeat::{repeat, repeatn, Repeat, RepeatN},
/external/rust/crates/itertools/
DCHANGELOG.md152 - Add free function constructor `repeat_n`. `RepeatN::new` is now deprecated.