#[derive(PrimitiveEnum)]
Expand description

A derive macro that generates packing and unpacking code for simple enum variants. It helps with converting your enums into integer types and back, with many other helper traits.