Struct hibitset::BitSetNot[][src]

pub struct BitSetNot<A: BitSetLike>(pub A);

BitSetNot takes a BitSetLike item, and produced an inverted virtual set. Note: the implementation is sub-optimal because layers 1-3 are not active.

Trait Implementations

impl<A: Debug + BitSetLike> Debug for BitSetNot<A>
[src]

Formats the value using the given formatter. Read more

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

The resulting type after applying the ! operator.

Performs the unary ! operation.

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

The resulting type after applying the & operator.

Performs the & operation.

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

The resulting type after applying the | operator.

Performs the | operation.

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

The resulting type after applying the ^ operator.

Performs the ^ operation.

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

The resulting type after applying the ! operator.

Performs the unary ! operation.

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

The resulting type after applying the & operator.

Performs the & operation.

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

The resulting type after applying the | operator.

Performs the | operation.

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

The resulting type after applying the ^ operator.

Performs the ^ operation.

Auto Trait Implementations

impl<A> Send for BitSetNot<A> where
    A: Send

impl<A> Sync for BitSetNot<A> where
    A: Sync