Crate bitflags[stability] [-] [+] [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.