pub trait BitTest { fn test(&self, idx: usize) -> bool; }
Test single bit. This trait should be implemented for all bit-set.
Tests if bit at specified index is set.