[][src]Trait sorted_iter::SortedIteratorExt

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

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

Provided methods

Important traits for Union<I, J>
fn union<J>(self, that: J) -> Union<Self, J> where
    J: SortedIteratorExt<Item = Self::Item>, 

union with another sorted iterator

Important traits for Intersection<I, J>
fn intersection<J>(self, that: J) -> Intersection<Self, J> where
    J: SortedIteratorExt<Item = Self::Item>, 

intersection with another sorted iterator

Important traits for Difference<I, J>
fn difference<J>(self, that: J) -> Difference<Self, J> where
    J: SortedIteratorExt<Item = Self::Item>, 

difference with another sorted iterator

Important traits for SymmetricDifference<I, J>
fn symmetric_difference<J>(self, that: J) -> SymmetricDifference<Self, J> where
    J: SortedIteratorExt<Item = Self::Item>, 

symmetric difference with another sorted iterator

Important traits for Pairs<I>
fn pairs(self) -> Pairs<Self>

pairs with unit value

Loading content...

Implementors

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

Loading content...