bitx 0.2.2

More ergonomic way to deal with bitfield-like struct.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use bitx::bits;

bits! {
    pub enum Overstuffed: 0.2 {
        0 V0,
        1 V1,
        2 V2,
        3 V3,
        4 V4,
    }
}

fn main() {}