1 2 3 4 5 6 7 8 9 10 11
pub trait ToCommandScope { fn to_command_scope(&self) -> CommandScope; } #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub enum CommandScope { Scripting, Project, CTest, Deprecated, }