Struct hibitset::BitSetXor[][src]

pub struct BitSetXor<A: BitSetLike, B: BitSetLike>(pub A, pub B);

BitSetXor takes two BitSetLike items, and merges the masks returning a new virtual set, which represents an merged of the two original sets.

Trait Implementations

impl<A: Debug + BitSetLike, B: Debug + BitSetLike> Debug for BitSetXor<A, B>
[src]

Formats the value using the given formatter. Read more

impl<A: BitSetLike, B: BitSetLike> BitSetLike for BitSetXor<A, B>
[src]

Return a usize where each bit represents if any word in layer2 has been set. Read more

Return the usize from the array of usizes that indicates if any bit has been set in layer1 Read more

Return the usize from the array of usizes that indicates if any bit has been set in layer0 Read more

Return a usize that maps to the direct 1:1 association with each index of the set Read more

Allows checking if set bit is contained in the bit set.

Gets the usize corresponding to layer and index. Read more

Important traits for BitIter<T>

Create an iterator that will scan over the keyspace

Create a parallel iterator that will scan over the keyspace

impl<A, B> IntoIterator for BitSetXor<A, B> where
    A: BitSetLike,
    B: BitSetLike
[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<A, B> Not for BitSetXor<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl<A, B, T> BitAnd<T> for BitSetXor<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<A, B, T> BitOr<T> for BitSetXor<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<A, B, T> BitXor<T> for BitSetXor<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl<'a, A, B> IntoIterator for &'a BitSetXor<A, B> where
    A: BitSetLike,
    B: BitSetLike
[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<'a, A, B> Not for &'a BitSetXor<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl<'a, A, B, T> BitAnd<T> for &'a BitSetXor<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl<'a, A, B, T> BitOr<T> for &'a BitSetXor<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the | operator.

Performs the | operation.

impl<'a, A, B, T> BitXor<T> for &'a BitSetXor<A, B> where
    T: BitSetLike,
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

Auto Trait Implementations

impl<A, B> Send for BitSetXor<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for BitSetXor<A, B> where
    A: Sync,
    B: Sync