[][src]Struct hibitset::BitSetNot

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

fn get_from_layer(&self, layer: usize, idx: usize) -> usize[src]

Gets the usize corresponding to layer and index. Read more

fn is_empty(&self) -> bool[src]

Returns true if this BitSetLike contains nothing, and false otherwise.

Important traits for BitIter<T>
fn iter(self) -> BitIter<Self> where
    Self: Sized
[src]

Create an iterator that will scan over the keyspace

fn par_iter(self) -> BitParIter<Self> where
    Self: Sized
[src]

Create a parallel iterator that will scan over the keyspace

impl<A> IntoIterator for BitSetNot<A> where
    A: BitSetLike
[src]

type Item = <BitIter<Self> as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = BitIter<Self>

Which kind of iterator are we turning this into?

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

type Item = <BitIter<Self> as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = BitIter<Self>

Which kind of iterator are we turning this into?

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

impl<A> Not for BitSetNot<A> where
    A: BitSetLike
[src]

type Output = BitSetNot<Self>

The resulting type after applying the ! operator.

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

type Output = BitSetNot<Self>

The resulting type after applying the ! operator.

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

type Output = BitSetAnd<Self, T>

The resulting type after applying the & operator.

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

type Output = BitSetAnd<Self, T>

The resulting type after applying the & operator.

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

type Output = BitSetOr<Self, T>

The resulting type after applying the | operator.

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

type Output = BitSetOr<Self, T>

The resulting type after applying the | operator.

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

type Output = BitSetXor<Self, T>

The resulting type after applying the ^ operator.

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

type Output = BitSetXor<Self, T>

The resulting type after applying the ^ operator.

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]