mvbitfield 0.1.1

Generates bitfield struct types that can insert and extract bit-aligned fields.
Documentation
use mvbitfield::prelude::*;

bitfield! {
    #[msb_first]
    struct MyStructA: 32 {
        x: 16,
        y: _,
        z: 16,
    }

    #[msb_first]
    struct MyStructB: 32 {
        x: 16,
        ..,
        z: 16,
    }
}

fn main() {}