1 2 3 4 5 6 7 8 9
use bitflags::bitflags; bitflags! { pub struct Flags1: u32 { pub const FLAG_A = 0b00000001; } } fn main() {}