Skip to main content

InputFilter

Trait InputFilter 

Source
pub trait InputFilter {
    // Required method
    fn filter(&self, input: &str) -> String;
}
Expand description

A REPL filter that preprocesses input before parsing.

Required Methods§

Source

fn filter(&self, input: &str) -> String

Filter/transform the input string.

Implementors§