Trait abi_stable::erased_types::IteratorItem

source ·
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>

source§

type Item = Tuple2<K, V>

source§

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

source§

type Item = T

source§

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

source§

type Item = T

source§

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

source§

type Item = T