pub trait DrainableBitSet: BitSetLike {
    fn remove(&mut self, i: u32) -> bool;

    fn drain<'a>(&'a mut self) -> DrainBitIter<'a, Self> 
    where
        Self: Sized
, { ... } }
Expand description

A extension to the BitSetLike trait which allows draining it.

Required Methods§

Removes bit from the bit set.

Returns true if removal happened and false otherwise.

Provided Methods§

Create a draining iterator that will scan over the keyspace and clears it while doing so.

Implementations on Foreign Types§

Implementors§