rit 0.1.3

Bit operation for rust.
Documentation
1
2
3
4
5
6
fn main() {
    assert_eq!(rit::eq1!(0b0000_1111, 0), true);
    assert_eq!(rit::eq0!(0b0000_1111, 4), true);
    assert_eq!(rit::set!(0b0000_1111, 0), 0x0f);
    assert_eq!(rit::clr!(0b0000_1111, 0), 0x0e);
}