Trait vec_collections::SortedIterator[][src]

pub trait SortedIterator: Iterator {
    fn union<J>(self, that: J) -> Union<Self, J>
    where
        J: SortedIterator<Item = Self::Item>
, { ... }
fn intersection<J>(self, that: J) -> Intersection<Self, J>
    where
        J: SortedIterator<Item = Self::Item>
, { ... }
fn difference<J>(self, that: J) -> Difference<Self, J>
    where
        J: SortedIterator<Item = Self::Item>
, { ... }
fn symmetric_difference<J>(self, that: J) -> SymmetricDifference<Self, J>
    where
        J: SortedIterator<Item = Self::Item>
, { ... }
fn pairs(self) -> Pairs<Self> { ... } }
Expand description

set operations for iterators where the items are sorted according to the natural order

Provided methods

union with another sorted iterator

intersection with another sorted iterator

difference with another sorted iterator

symmetric difference with another sorted iterator

pairs with unit value

Implementors