Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'src/runnables.rs')
| -rw-r--r-- | src/runnables.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runnables.rs b/src/runnables.rs index ee3970d..e70aab9 100644 --- a/src/runnables.rs +++ b/src/runnables.rs @@ -16,6 +16,7 @@ use crate::trm; pub enum Runb {} impl MenuData for Runb { + const NAME: &'static str = "runnables"; type Data = Vec<Runnable>; type Element<'a> = &'a Runnable; @@ -190,3 +191,7 @@ pub fn run( } } } + +impl crate::menu::generic::ID for crate::runnables::Runb { + const ID: u8 = 2; +} |