Macro bit_struct::bit_struct [−][src]
macro_rules! bit_struct {
($($struct_vis : vis struct $name : ident($kind : ty)
{
$($field : ident($start : literal, $end : literal) : $actual : ty), *
$(,) ?
}) *) => { ... };
}
Expand description
Create a bit struct. Look at tests folder to see examples.