Searched refs:RepeatN (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/itertools/src/ |
D | repeatn.rs | 7 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
|
D | lib.rs | 144 pub use crate::repeatn::RepeatN;
|
/external/rust/crates/rayon/src/iter/ |
D | repeat.rs | 39 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
|
D | mod.rs | 180 repeat::{repeat, repeatn, Repeat, RepeatN},
|
/external/rust/crates/itertools/ |
D | CHANGELOG.md | 152 - Add free function constructor `repeat_n`. `RepeatN::new` is now deprecated.
|