macro_rules! bit { ($val:literal) => { ... }; }
Returns a bit checked at compile time.
bit
let x = bit!(0); assert_eq!(x.repr(), 0);