Struct id_set::BlockIter [] [src]

pub struct BlockIter<B> { /* fields omitted */ }

Represents a view into the blocks of a set or combination of sets. An iterator over the elements can be obtained with into_iter().

Methods

impl<B> BlockIter<B>
[src]

Returns the iterator over raw blocks.

impl<B> BlockIter<B> where
    B: ExactSizeIterator<Item = Block>, 
[src]

Equivalent to self.into_iter().collect().

Takes the union of the blocks with another block iterator. Equivalent to self | other.

Takes the intersection of the blocks with another block iterator. Equivalent to self & other.

Takes the difference of the blocks with another block iterator. Equivalent to self - other.

Takes the symmetric difference of the blocks with another block iterator. Equivalent to self ^ other.

Trait Implementations

impl<B: Clone> Clone for BlockIter<B>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<B: Debug> Debug for BlockIter<B>
[src]

Formats the value using the given formatter.

impl<B> IntoIterator for BlockIter<B> where
    B: ExactSizeIterator<Item = Block>, 
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<B> IntoBlockIter for BlockIter<B> where
    B: ExactSizeIterator<Item = Block>, 
[src]

The raw iterator type.

Creates a block iterator.

impl<B, I> BitAnd<I> for BlockIter<B> where
    B: ExactSizeIterator<Item = Block>,
    I: IntoBlockIter
[src]

The resulting type after applying the & operator

Takes the intersection of two objects.

impl<B, I> BitOr<I> for BlockIter<B> where
    B: ExactSizeIterator<Item = Block>,
    I: IntoBlockIter
[src]

The resulting type after applying the | operator

Takes the union of two objects.

impl<B, I> BitXor<I> for BlockIter<B> where
    B: ExactSizeIterator<Item = Block>,
    I: IntoBlockIter
[src]

The resulting type after applying the ^ operator

Takes the symmetric difference of two objects.

impl<B, I> Sub<I> for BlockIter<B> where
    B: ExactSizeIterator<Item = Block>,
    I: IntoBlockIter
[src]

The resulting type after applying the - operator

Takes the difference of two objects.