Trait ParallelProgressIterator

Source
pub trait ParallelProgressIterator
where Self: Sized + ParallelIterator,
{ // Required method fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<Self> ; // Provided methods fn progress_count(self, len: u64) -> ProgressBarIter<Self> { ... } fn progress(self) -> ProgressBarIter<Self> where Self: IndexedParallelIterator { ... } fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self> where Self: IndexedParallelIterator { ... } }
Expand description

Wraps a Rayon parallel iterator.

See ProgressIterator for method documentation.

Required Methods§

Source

fn progress_with(self, progress: ProgressBar) -> ProgressBarIter<Self>

Wrap an iterator with a custom progress bar.

Provided Methods§

Source

fn progress_count(self, len: u64) -> ProgressBarIter<Self>

Wrap an iterator with an explicit element count.

Source

fn progress(self) -> ProgressBarIter<Self>

Source

fn progress_with_style(self, style: ProgressStyle) -> ProgressBarIter<Self>

Wrap an iterator with a progress bar and style it.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§