Struct repl_rs::Command [−][src]
pub struct Command<Context, E> { /* fields omitted */ }
Expand description
Struct to define a command in the REPL
Implementations
Create a new command with the given name and callback function
Add a parameter to the command. The order of the parameters is the same as the order in which this is called for each parameter.
Trait Implementations
Auto Trait Implementations
impl<Context, E> RefUnwindSafe for Command<Context, E>
impl<Context, E> UnwindSafe for Command<Context, E>