pub trait BatchIteratorExt: Iterator + Sized {
// Provided method
fn batches(self, size: usize) -> BatchIterator<Self> ⓘ { ... }
}Expand description
Extension trait for creating batch iterators.
Provided Methods§
Sourcefn batches(self, size: usize) -> BatchIterator<Self> ⓘ
fn batches(self, size: usize) -> BatchIterator<Self> ⓘ
Create batches of specified size.
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.