pub fn negate(&mut self) {
        for blk in self.vec.iter_mut() {
            *blk = !*blk;
        }
        self.mask_last_block();
    }
/// Negates all bits in the Vob.
///
/// # Examples
/// ```
/// use vob::vob;
/// let mut v = vob![true, false];
/// v.negate();
/// assert_eq!(v, vob![false, true]);
/// ```
Negates all bits in the Vob.
Negates all bits in the Vob .
pub fn negate(&mut self) {
        for blk in self.vec.iter_mut() {
            *blk = !*blk;
        }
        self.mask_last_block();
    }
pub fn negate ( & mut self ) { for blk in self . vec . iter_mut ( ) { * blk = ! * blk ; } self . mask_last_block ( ) ; }
Negates all bits in the Vob.
Negates all bits in the Vob .
&mut self
&mut self
examples
```
use vob::vob;
let mut v = vob![true, false];
v.negate();
assert_eq!(v, vob![false, true]);
```
` ` ` use vob :: vob ; let mut v = vob! [ true false ] ; v . negate () ; assert_eq! ( v vob! [ false true ] ) ; ` ` `