Struct IntoChunks

struct IntoChunks<I> { ... }
where
    I: Iterator

ChunkLazy is the storage for a lazy chunking operation.

IntoChunks behaves just like ChunkBy: it is iterable, and it only buffers if several chunk iterators are alive at the same time.

This type implements IntoIterator (it is not an iterator itself), because the chunk iterators need to borrow from this value. It should be stored in a local variable or temporary and iterated.

Iterator element type is Chunk, each chunk's iterator.

See .chunks() for more information.

Implementations

impl<I> Clone for IntoChunks<I>

fn clone(self: &Self) -> Self

impl<I> Freeze for IntoChunks<I>

impl<I> RefUnwindSafe for IntoChunks<I>

impl<I> Send for IntoChunks<I>

impl<I> Sync for IntoChunks<I>

impl<I> Unpin for IntoChunks<I>

impl<I> UnsafeUnpin for IntoChunks<I>

impl<I> UnwindSafe for IntoChunks<I>

impl<T> Any for IntoChunks<I>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoChunks<I>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IntoChunks<I>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for IntoChunks<I>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for IntoChunks<I>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for IntoChunks<I>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for IntoChunks<I>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IntoChunks<I>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IntoChunks<I>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>