Struct rustc_data_structures::bitvec::SparseBitSet[][src]

pub struct SparseBitSet<I: Idx> { /* fields omitted */ }

Methods

impl<I: Idx> SparseBitSet<I>
[src]

Returns a chunk containing only those bits that are already present. You can test therefore if self contains all the bits in chunk already by doing chunk == self.contains_chunk(chunk).

Modifies self to contain all the bits from chunk (in addition to any pre-existing bits); returns a new chunk that contains only those bits that were newly added. You can test if anything was inserted by invoking any() on the returned value.

Insert into bit set from another bit set.

Trait Implementations

impl<I: Clone + Idx> Clone for SparseBitSet<I>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<I: Debug + Idx> Debug for SparseBitSet<I>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<I> Send for SparseBitSet<I> where
    I: Send

impl<I> Sync for SparseBitSet<I> where
    I: Sync