Struct Chunks

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Chunks<'a, I>
where
    I: Iterator + 'a,
    I::Item: 'a, { /* private fields */ }

An iterator that yields the Chunk iterators.

Iterator element type is Chunk.

See .chunks() for more information.

Trait Implementations

impl<'a, I> Clone for Chunks<'a, I> where I: Iterator + 'a + Clone, I::Item: 'a,

fn clone(&self) -> Chunks<'a, I>

impl<'a, I> Debug for Chunks<'a, I> where I: Iterator + Debug, I::Item: Debug,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> Iterator for Chunks<'a, I> where I: Iterator, I::Item: 'a,

type Item = Chunk<'a, I>;
fn next(&mut self) -> Option<Self::Item>

Auto Trait Implementations

impl<'a, I> !RefUnwindSafe for Chunks<'a, I>

impl<'a, I> !Send for Chunks<'a, I>

impl<'a, I> !Sync for Chunks<'a, I>

impl<'a, I> !UnwindSafe for Chunks<'a, I>

impl<'a, I> Freeze for Chunks<'a, I> where &'a IntoChunks<I>: Freeze,

impl<'a, I> Unpin for Chunks<'a, I> where &'a IntoChunks<I>: Unpin,

impl<'a, I> UnsafeUnpin for Chunks<'a, I> where &'a IntoChunks<I>: UnsafeUnpin,

Blanket Implementations

impl<I> IntoIterator for Chunks<'a, I> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for Chunks<'a, I> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Chunks<'a, I> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Chunks<'a, I> where T: ?Sized,

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

impl<T> CloneToUninit for Chunks<'a, I> where T: Clone,

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

impl<T> From<T> for Chunks<'a, I>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for Chunks<'a, I>

impl<T> Itertools for Chunks<'a, I> where T: Iterator + ?Sized,

impl<T> ToOwned for Chunks<'a, I> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Chunks<'a, I> where U: From<T>,

fn into(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<U> for Chunks<'a, I> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Chunks<'a, I> where U: TryFrom<T>,

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