mvbitfield 0.1.1

Generates bitfield struct types that can insert and extract bit-aligned fields.
Documentation
1
2
3
4
5
6
7
use mvbitfield::prelude::*;

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