Trait repl::ReplEnv
[−]
[src]
pub trait ReplEnv { fn preamble(&self) -> bool; fn colorize(&self) -> bool; fn prompt(&self) -> &String; }
The repl environment trait
Required Methods
fn preamble(&self) -> bool
Is the preamble enabled?
fn colorize(&self) -> bool
Is colorized oubput enabled?
fn prompt(&self) -> &String
The prompt to display.