Trait mgf::bitset::FixedSizeBitSet
[−]
[src]
pub trait FixedSizeBitSet: Default + Binary { const NUM_BITS: usize; fn get(&self, i: usize) -> bool; fn insert(&mut self, i: usize); fn remove(&mut self, i: usize); }
A bit set of fixed, limited capacity.
Associated Constants
Required Methods
fn get(&self, i: usize) -> bool
Retrieve a bit value at the index.
fn insert(&mut self, i: usize)
Set the bit at the given index.
fn remove(&mut self, i: usize)
Unset the bit at the given index.