pub trait IntoIterator {
    type Item;
    type IntoIter: Iterator<Item = Self::Item>;

    fn into_iter<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Self::IntoIter> + 'async_trait>>
   where
        Self: 'async_trait
; }
Expand description

Conversion into an Iterator.

Required Associated Types

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Required Methods

Creates an iterator from a value.

Implementors