count() } bitflags! { struct MyFlags: u8 { const A = 1; const B = 1 << 1; const C = 1 << 2; const _ = !0; } } assert_eq!(3, defined_flags::()); ```