1#[derive(Debug, PartialEq, Clone)] 2pub enum Scope { 3 Global, 4 Local, 5} 6 7impl Into<Scope> for () { 8 fn into(self) -> Scope { 9 Scope::Global 10 } 11}