Trait IterateEnumerable

Source
pub trait IterateEnumerable {
    type Element;
    type Iterator: Iterator<Item = Self::Element>;

    // Required method
    fn enumerable_iterate(self) -> Self::Iterator;
}
Expand description

Iterate enumerable consuming non-consuming it.

Required Associated Types§

Source

type Element

Type of an element.

Source

type Iterator: Iterator<Item = Self::Element>

Type of iterator.

Required Methods§

Source

fn enumerable_iterate(self) -> Self::Iterator

Iterate non-consuming.

Implementations on Foreign Types§

Source§

impl<'a, E> IterateEnumerable for &'a E
where E: Enumerable,

Implementors§