Struct VarBitSet
pub struct VarBitSet(/* private field */);
A bit set is a set of bit flags.
Implementations
impl VarBitSet
fn saturated(len: usize) -> SelfCreate a bit set of
lenset values.
Trait Implementations
impl BitSetLike for VarBitSet
fn new_bitset(max: usize) -> Selffn len(&self) -> usizefn test(&self, bit: usize) -> boolfn set(&mut self, bit: usize)fn clear(&mut self, bit: usize)fn count(&self) -> usize
impl Clone for VarBitSet
fn clone(&self) -> Self
impl Debug for VarBitSet
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl FromIterator<usize> for VarBitSet
fn from_iter<T: IntoIterator<Item = usize>>(into_iter: T) -> Self