blastfig 0.3.3

A macro to generate structures which behave like bitflags.

Crate blastfig [] [src]

A typesafe bitmask flag generator.

Macros

bitflags!

The bitflags! macro generates a struct that holds a set of C-style bitmask flags. It is useful for creating typesafe wrappers for C APIs.