pub fn off(&mut self, index: usize) {
        if self.0.len() > Bitset::pos(index) {
            self.0[Bitset::pos(index)] &= !Bitset::bit(index);
            self.trim_after_removing_at(index);
        }
    }
/// Toggles off the bit at the given index.
///
/// # Example
/// ```
/// # use tuplequery::tuple::bitset::Bitset;
/// let mut bitset = Bitset::new();
///
/// bitset.on(1);
/// bitset.on(2);
/// bitset.on(2);
///
/// assert_eq!(bitset.iter().collect::<Vec<_>>(), vec![1, 2]);
///
/// bitset.off(1);
///
/// assert_eq!(bitset.iter().collect::<Vec<_>>(), vec![2]);
/// ```
Toggles off the bit at the given index.
Toggles off the bit at the given index .
pub fn off(&mut self, index: usize) {
        if self.0.len() > Bitset::pos(index) {
            self.0[Bitset::pos(index)] &= !Bitset::bit(index);
            self.trim_after_removing_at(index);
        }
    }
pub fn off ( & mut self , index : usize ) { if self . 0 . len ( ) > Bitset :: pos ( index ) { self . 0 [ Bitset :: pos ( index ) ] &= ! Bitset :: bit ( index ) ; self . trim_after_removing_at ( index ) ; } }
Toggles off the bit at the given index.
Toggles off the bit at the given index .
&mut self
index
usize
&mut self
index
usize
example
None
use tuplequery::tuple::bitset::bitset;
let mut bitset = Bitset::new().








let mut bitset = Bitset :: new () .