Struct rustc_ap_rustc_index::bit_set::GrowableBitSet [−][src]
pub struct GrowableBitSet<T: Idx> { /* fields omitted */ }
Expand description
A resizable bitset type with a dense representation.
T
is an index type, typically a newtyped usize
wrapper, but it can also
just be usize
.
All operations that involve an element will panic if the element is equal to or greater than the domain size.
Implementations
Ensure that the set can hold at least min_domain_size
elements.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for GrowableBitSet<T> where
T: RefUnwindSafe,
impl<T> Send for GrowableBitSet<T> where
T: Send,
impl<T> Sync for GrowableBitSet<T> where
T: Sync,
impl<T> Unpin for GrowableBitSet<T> where
T: Unpin,
impl<T> UnwindSafe for GrowableBitSet<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more