Struct rustc_data_structures::bitvec::SparseBitSet
[−]
[src]
pub struct SparseBitSet<I: Idx> { /* fields omitted */ }
Methods
impl<I: Idx> SparseBitSet<I>
[src]
pub fn new() -> Self
[src]
pub fn capacity(&self) -> usize
[src]
pub fn contains_chunk(&self, chunk: SparseChunk<I>) -> SparseChunk<I>
[src]
pub fn insert_chunk(&mut self, chunk: SparseChunk<I>) -> SparseChunk<I>
[src]
pub fn remove_chunk(&mut self, chunk: SparseChunk<I>) -> SparseChunk<I>
[src]
pub fn clear(&mut self)
[src]
pub fn chunks<'a>(&'a self) -> impl Iterator<Item = SparseChunk<I>> + 'a
[src]
pub fn contains(&self, index: I) -> bool
[src]
pub fn insert(&mut self, index: I) -> bool
[src]
pub fn remove(&mut self, index: I) -> bool
[src]
pub fn iter<'a>(&'a self) -> impl Iterator<Item = I> + 'a
[src]
Trait Implementations
impl<I: Clone + Idx> Clone for SparseBitSet<I>
[src]
fn clone(&self) -> SparseBitSet<I>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<I: Debug + Idx> Debug for SparseBitSet<I>
[src]
Auto Trait Implementations
impl<I> Send for SparseBitSet<I> where
I: Send,
I: Send,
impl<I> Sync for SparseBitSet<I> where
I: Sync,
I: Sync,