Trait vec_collections::SortedIterator[][src]

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

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

Provided methods

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

union with another sorted iterator

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

intersection with another sorted iterator

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

difference with another sorted iterator

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

symmetric difference with another sorted iterator

pub fn pairs(self) -> Pairs<Self>[src]

pairs with unit value

Loading content...

Implementors

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

Loading content...