Specifies a menu command.
(name: &str)
| 343 | |
| 344 | /// Specifies a menu command. |
| 345 | pub fn command(name: &str) -> NullCommand { |
| 346 | NullCommand { |
| 347 | name: name.into(), |
| 348 | key: None, |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | impl DynCommandBase for NullCommand { |
| 353 | fn exec(&self) {} |