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 Context { Binding, Type, } impl Context { pub const Binding: Self = Self::Binding; pub const Type: Self = Self::Type; }