pub trait IntoInternalIterator {
    type Item;
    type IntoIter: InternalIterator<Item = Self::Item>;

    // Required method
    fn into_internal_iter(self) -> Self::IntoIter;
}
Expand description

Conversion to an InternalIterator.

This is internal-iterator equivalent of std::iter::IntoIterator.

Required Associated Types§

source

type Item

The type of the elements being iterated over.

source

type IntoIter: InternalIterator<Item = Self::Item>

Concrete iterator type returned by the conversion.

Required Methods§

source

fn into_internal_iter(self) -> Self::IntoIter

Convert this type to an internal iterator.

Implementations on Foreign Types§

source§

impl<'a, K, V> IntoInternalIterator for &'a BTreeMap<K, V>

source§

impl<'a, K, V> IntoInternalIterator for &'a HashMap<K, V>

§

type Item = <&'a HashMap<K, V> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a HashMap<K, V> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, K, V> IntoInternalIterator for &'a mut BTreeMap<K, V>

§

type Item = <&'a mut BTreeMap<K, V> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a mut BTreeMap<K, V> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, K, V> IntoInternalIterator for &'a mut HashMap<K, V>

§

type Item = <&'a mut HashMap<K, V> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a mut HashMap<K, V> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, T> IntoInternalIterator for &'a Option<T>

source§

impl<'a, T> IntoInternalIterator for &'a [T]

source§

impl<'a, T> IntoInternalIterator for &'a BTreeSet<T>

source§

impl<'a, T> IntoInternalIterator for &'a Vec<T>

§

type Item = <&'a Vec<T> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a Vec<T> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, T> IntoInternalIterator for &'a HashSet<T>

source§

impl<'a, T> IntoInternalIterator for &'a mut Option<T>

§

type Item = <&'a mut Option<T> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a mut Option<T> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, T> IntoInternalIterator for &'a mut [T]

§

type Item = <&'a mut [T] as IntoIterator>::Item

§

type IntoIter = Internal<<&'a mut [T] as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, T> IntoInternalIterator for &'a mut Vec<T>

§

type Item = <&'a mut Vec<T> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a mut Vec<T> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, T, E> IntoInternalIterator for &'a Result<T, E>

§

type Item = <&'a Result<T, E> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a Result<T, E> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, T, E> IntoInternalIterator for &'a mut Result<T, E>

§

type Item = <&'a mut Result<T, E> as IntoIterator>::Item

§

type IntoIter = Internal<<&'a mut Result<T, E> as IntoIterator>::IntoIter>

source§

fn into_internal_iter(self) -> Self::IntoIter

source§

impl<'a, T, const N: usize> IntoInternalIterator for &'a [T; N]

source§

impl<'a, T, const N: usize> IntoInternalIterator for &'a mut [T; N]

source§

impl<K, V> IntoInternalIterator for BTreeMap<K, V>

source§

impl<K, V> IntoInternalIterator for HashMap<K, V>

source§

impl<T> IntoInternalIterator for Option<T>

source§

impl<T> IntoInternalIterator for BTreeSet<T>

source§

impl<T> IntoInternalIterator for Vec<T>

source§

impl<T> IntoInternalIterator for HashSet<T>

source§

impl<T, E> IntoInternalIterator for Result<T, E>

source§

impl<T, const N: usize> IntoInternalIterator for [T; N]

Implementors§