Crate binf_macros

Source

Attribute Macrosยง

bitflag
Attribute proc macro that turns a struct into a bitflag The underlying type of the bitflag is chosen based on the number of fields in the struct usage: