Struct repl_rs::Repl [−][src]
pub struct Repl<Context, E: Display> { /* fields omitted */ }
Expand description
Main REPL struct
Implementations
Give your Repl a name. This is used in the help summary for the Repl.
Give your Repl a version. This is used in the help summary for the Repl.
Give your Repl a description. This is used in the help summary for the Repl.
Give your Repl a custom prompt. The default prompt is the Repl name, followed by
a >
, all in green, followed by a space.
Pass in a custom help viewer
Pass in a custom error handler. This is really only for testing - the default error handler simply prints the error to stderr and then returns
Add a command to your REPL
Auto Trait Implementations
impl<Context, E> !RefUnwindSafe for Repl<Context, E>
impl<Context, E> !UnwindSafe for Repl<Context, E>