BatchIterator

Trait BatchIterator 

Source
pub trait BatchIterator: Iterator {
    // Provided method
    fn batches(self, batch_size: usize) -> Batches<Self> 
       where Self: Sized { ... }
}
Expand description

Extension trait for batch processing

Provided Methods§

Source

fn batches(self, batch_size: usize) -> Batches<Self>
where Self: Sized,

Process items in batches

Implementors§