//! An example of implementing the `BitFlags` trait manually for a flags type.
use str;
use bitflags;
// Define a flags type outside of the `bitflags` macro as a newtype
// It can accept custom derives for libraries `bitflags` doesn't support natively
;
// Next: use `impl Flags` instead of `struct Flags`
bitflags!