Macro IntoPrimitive
macro_rules! IntoPrimitive { ... }
Implements Into<Primitive> for a #[repr(Primitive)] enum.
(It actually implements From<Enum> for Primitive)
Allows turning an enum into a primitive.
use IntoPrimitive;
let zero: u8 = Zero.into;
assert_eq!;