use bitflags::bitflags; bitflags! { pub struct Flags: u64 { const HALT = 1; const COMPARE = 1 << 1; } }