Trait repl::ReplEnv [] [src]

pub trait ReplEnv {
    fn preamble(&self) -> bool;
    fn colorize(&self) -> bool;
    fn prompt(&self) -> &str;
}

The repl environment trait

Required Methods

Is the preamble enabled?

Is colorized oubput enabled?

The prompt to display.

Implementors