Trait extra::rl::CompletionCb

pub trait CompletionCb {
    fn complete(&self, line: ~str, suggestion: &fn(~str));
}

The callback used to perform completions.

Required Methods

fn complete(&self, line: ~str, suggestion: &fn(~str))

Performs a completion.