pub trait IteratorItem<'a>: InterfaceType {
    type Item;
}
Expand description

The way to specify the expected Iterator::Item type for an InterfaceType.

This is a separate trait to allow iterators that yield borrowed elements.

Required Associated Types§

source

type Item

The iterator item type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, K: 'a, V: 'a> IteratorItem<'a> for MutIterInterface<K, V>

source§

impl<'a, K: 'a, V: 'a> IteratorItem<'a> for RefIterInterface<K, V>

source§

impl<'a, K: 'a, V: 'a> IteratorItem<'a> for ValIterInterface<K, V>

§

type Item = Tuple2<K, V>

source§

impl<'a, T: 'a> IteratorItem<'a> for DEIteratorCloneInterface<T>

§

type Item = T

source§

impl<'a, T: 'a> IteratorItem<'a> for DEIteratorInterface<T>

§

type Item = T

source§

impl<'a, T: 'a> IteratorItem<'a> for IteratorInterface<T>

§

type Item = T