[][src]Trait adjacent_pair_iterator::AdjacentPairIterator

pub trait AdjacentPairIterator {
    type Item: Clone;
    type Iterator: Iterator<Item = Self::Item>;
    fn adjacent_pairs(self) -> AdjacentPairs<Self::Iterator, Self::Item>;
}

Associated Types

type Item: Clone

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

Loading content...

Required methods

Important traits for AdjacentPairs<IteratorType, ItemType>
fn adjacent_pairs(self) -> AdjacentPairs<Self::Iterator, Self::Item>

Loading content...

Implementors

impl<IteratorType: Iterator<Item = ItemType>, ItemType: Clone> AdjacentPairIterator for IteratorType[src]

type Item = ItemType

type Iterator = Self

Loading content...