Trait abi_stable::erased_types::IteratorItemOrDefault[][src]

pub trait IteratorItemOrDefault<'borr>: InterfaceType {
    type Item;
}
Expand description

Gets the expected Iterator::Item type for an InterfaceType, defaulting to () if it doesn’t require Iterator to be implemented.

Used by DynTrait’s vtable to give its iterator methods a defaulted return type.

Associated Types

The iterator item type.

Implementors