Struct hibitset::BitSetAnd [] [src]

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

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

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Create an iterator that will scan over the keyspace

[src]

Create a parallel iterator that will scan over the keyspace

impl<A, B> IntoIterator for BitSetAnd<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?

[src]

Creates an iterator from a value. Read more

impl<A, B> Not for BitSetAnd<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the ! operator.

[src]

Performs the unary ! operation.

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

The resulting type after applying the & operator.

[src]

Performs the & operation.

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

The resulting type after applying the | operator.

[src]

Performs the | operation.

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

The resulting type after applying the ^ operator.

[src]

Performs the ^ operation.

impl<'a, A, B> IntoIterator for &'a BitSetAnd<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?

[src]

Creates an iterator from a value. Read more

impl<'a, A, B> Not for &'a BitSetAnd<A, B> where
    A: BitSetLike,
    B: BitSetLike
[src]

The resulting type after applying the ! operator.

[src]

Performs the unary ! operation.

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

The resulting type after applying the & operator.

[src]

Performs the & operation.

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

The resulting type after applying the | operator.

[src]

Performs the | operation.

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

The resulting type after applying the ^ operator.

[src]

Performs the ^ operation.