Trait std::iter::IntoIteratorStable [-] [+] [src]

pub trait IntoIterator where <Self as IntoIterator>::Item: Sized, <Self as IntoIterator>::IntoIter: Sized, <Self as IntoIterator>::IntoIter: Iterator, <<Self as IntoIterator>::IntoIter as Iterator>::Item == <Self as IntoIterator>::Item {
    type Item;
    type IntoIter;

    fn into_iter(self) -> <Self as IntoIterator>::IntoIter;
}

Conversion into an Iterator

Associated Types

type Item

type IntoIter

Required Methods

fn into_iter(self) -> <Self as IntoIterator>::IntoIter

Consumes Self and returns an iterator over it

Implementors