pub trait AdjacentPairIterator {
type Iterator: Iterator;
// Required method
fn adjacent_pairs(self) -> AdjacentPairs<Self::Iterator> ⓘ;
}
Expand description
Extends all types implementing IntoIterator
with clonable items with the adjacent_pairs
method.
Required Associated Types§
Required Methods§
Sourcefn adjacent_pairs(self) -> AdjacentPairs<Self::Iterator> ⓘ
fn adjacent_pairs(self) -> AdjacentPairs<Self::Iterator> ⓘ
Return an iterator of adjacent pairs in Self
.