Struct RepeatN
pub struct RepeatN<T> { /* private fields */ }
Iterator adaptor for the repeat_n() function.
Trait Implementations
impl<T> IndexedParallelIterator for RepeatN<T>
where
T: Clone + Send,
fn drive<C>(self, consumer: C) -> C::Result where C: Consumer<Self::Item>,fn with_producer<CB>(self, callback: CB) -> CB::Output where CB: ProducerCallback<Self::Item>,fn len(&self) -> usize
impl<T> ParallelIterator for RepeatN<T>
where
T: Clone + Send,
type Item = T;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,fn opt_len(&self) -> Option<usize>
impl<T: Clone> Clone for RepeatN<T>
fn clone(&self) -> Self
impl<T: Debug> Debug for RepeatN<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result