MCPcopy Create free account
hub / github.com/audulus/rui / command

Function command

src/views/command.rs:345–350  ·  view source on GitHub ↗

Specifies a menu command.

(name: &str)

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected