[][src]Trait abi_stable::erased_types::traits::IteratorItem

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

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

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

Associated Types

type Item: 'a

Loading content...

Implementors

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

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

type Item = Tuple2<&'a K, &'a V>

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

type Item = Tuple2<K, V>

impl<'a, T: 'a> IteratorItem<'a> for DEIteratorInterface<T>[src]

type Item = T

impl<'a, T: 'a> IteratorItem<'a> for IteratorInterface<T>[src]

type Item = T

Loading content...