#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum LocalKind {
Input,
Binding,
Output,
Consumer,
}
impl LocalKind {
pub const fn label(self) -> &'static str {
match self {
Self::Input => "input",
Self::Binding => "let",
Self::Output => "return",
Self::Consumer => "consumer",
}
}
}