Trait id_set::BlockIterator
[−]
[src]
pub trait BlockIterator: Iterator<Item = Block> + Sized { fn into_id_iter(self) -> IdIter<Self> { ... } fn union<B: BlockIterator>(self, other: B) -> Union<Self, B> { ... } fn intersection<B: BlockIterator>(self, other: B) -> Intersection<Self, B> { ... } fn difference<B: BlockIterator>(self, other: B) -> Difference<Self, B> { ... } fn symmetric_difference<B: BlockIterator>(
self,
other: B
) -> SymmetricDifference<Self, B> { ... } fn complement(self) -> Complement<Self> { ... } }
An iterator over blocks of elements.
Provided Methods
fn into_id_iter(self) -> IdIter<Self>
Creates an iterator over elements in the blocks.
fn union<B: BlockIterator>(self, other: B) -> Union<Self, B>
Take the union of two iterators.
fn intersection<B: BlockIterator>(self, other: B) -> Intersection<Self, B>
Take the intersection of two iterators.
fn difference<B: BlockIterator>(self, other: B) -> Difference<Self, B>
Take the difference of two iterators.
fn symmetric_difference<B: BlockIterator>(
self,
other: B
) -> SymmetricDifference<Self, B>
self,
other: B
) -> SymmetricDifference<Self, B>
Take the symmetric difference of two iterators.
fn complement(self) -> Complement<Self>
Take the complement of the iterator.