Struct arret::subcommand::repl::arret_helper::ArretHelper [−][src]
Implementation of Rustyline’s Helper
trait
Fields
all_names: Vec<DataStr>
Implementations
impl ArretHelper
[src]
impl ArretHelper
[src]pub fn new(bound_names: Vec<DataStr>) -> ArretHelper
[src]
Trait Implementations
impl Completer for ArretHelper
[src]
impl Completer for ArretHelper
[src]impl Highlighter for ArretHelper
[src]
impl Highlighter for ArretHelper
[src]fn highlight<'l>(&self, line: &'l str, _pos: usize) -> Cow<'l, str>
[src]
fn highlight_prompt<'b, 's: 'b, 'p: 'b>(
&'s self,
prompt: &'p str,
_default: bool
) -> Cow<'b, str>
[src]
&'s self,
prompt: &'p str,
_default: bool
) -> Cow<'b, str>
fn highlight_hint<'h>(&self, hint: &'h str) -> Cow<'h, str>
[src]
fn highlight_char(&self, line: &str, _pos: usize) -> bool
[src]
pub fn highlight_candidate(
&self,
candidate: &'c str,
completion: CompletionType
) -> Cow<'c, str>
&self,
candidate: &'c str,
completion: CompletionType
) -> Cow<'c, str>
impl Hinter for ArretHelper
[src]
impl Hinter for ArretHelper
[src]impl Validator for ArretHelper
[src]
impl Validator for ArretHelper
[src]fn validate(
&self,
ctx: &mut ValidationContext<'_>
) -> Result<ValidationResult, ReadlineError>
[src]
&self,
ctx: &mut ValidationContext<'_>
) -> Result<ValidationResult, ReadlineError>