pub trait BitManipulation { // Required methods fn set_bit(&mut self, bit: usize, bit_val: bool); fn test_bit(&self, bit: usize) -> bool; }
Allow bit manipulation across BigInts
Set a given bit
Test value of given bit