Struct ena::bitvec::BitVector
[−]
[src]
pub struct BitVector { /* fields omitted */ }
A very simple BitVector type.
Methods
impl BitVector
[src]
fn new(num_bits: usize) -> BitVector
fn contains(&self, bit: usize) -> bool
fn insert(&mut self, bit: usize) -> bool
Returns true if the bit has changed.
fn insert_all(&mut self, all: &BitVector) -> bool
fn grow(&mut self, num_bits: usize)
fn iter<'a>(&'a self) -> BitVectorIter<'a>
Iterates over indexes of set bits in a sorted order