1 2 3 4 5 6 7 8 9 10 11
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] #[allow(non_camel_case_types)] pub enum Kind { Type, Pack, } impl Kind { pub const Type: Self = Self::Type; pub const Pack: Self = Self::Pack; }