pub trait BitTest {
// Required method
fn test(&self, idx: usize) -> bool;
}
Expand description
Test single bit. This trait should be implemented for all bit-set.
pub trait BitTest {
// Required method
fn test(&self, idx: usize) -> bool;
}
Test single bit. This trait should be implemented for all bit-set.