1 2 3 4 5 6 7 8 9 10
use enum_parity::bit_parity; #[bit_parity(even)] enum Foo { A, B, C, } fn main() {}