[][src]Trait vec_collections::SortedIterator

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> { ... } }

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

Provided methods

fn union<J>(self, that: J) -> Union<Self, J> where
    J: SortedIterator<Item = Self::Item>, 

union with another sorted iterator

fn intersection<J>(self, that: J) -> Intersection<Self, J> where
    J: SortedIterator<Item = Self::Item>, 

intersection with another sorted iterator

fn difference<J>(self, that: J) -> Difference<Self, J> where
    J: SortedIterator<Item = Self::Item>, 

difference with another sorted iterator

fn symmetric_difference<J>(self, that: J) -> SymmetricDifference<Self, J> where
    J: SortedIterator<Item = Self::Item>, 

symmetric difference with another sorted iterator

fn pairs(self) -> Pairs<Self>

pairs with unit value

Loading content...

Implementors

impl<I> SortedIterator for I where
    I: Iterator + SortedByItem
[src]

Loading content...