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]

[src]

Returns the iterator over raw blocks.

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

[src]

Creates new block iterator.

[src]

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

[src]

Collects the iterator into an IdSet.

[src]

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

[src]

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

[src]

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

[src]

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[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?

[src]

Creates an iterator from a value. Read more

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

The raw iterator type.

[src]

Creates a block iterator.

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

The resulting type after applying the & operator.

[src]

Takes the intersection of two objects.

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

The resulting type after applying the | operator.

[src]

Takes the union of two objects.

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

The resulting type after applying the ^ operator.

[src]

Takes the symmetric difference of two objects.

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

The resulting type after applying the - operator.

[src]

Takes the difference of two objects.