mvbitfield 0.2.0

Generates types to work with bit-aligned fields.
Documentation
1
2
3
4
5
6
7
use mvbitfield::prelude::*;

bitfield! {
    struct MyStruct: 16 {
        x: 16,
    }
}