Struct wee_rl::completion::FilenameCompleter [] [src]

pub struct FilenameCompleter { /* fields omitted */ }

A Completer for file and folder names.

Methods

impl FilenameCompleter
[src]

Trait Implementations

impl Default for FilenameCompleter
[src]

[src]

Returns the "default value" for a type. Read more

impl Completer for FilenameCompleter
[src]

[src]

Takes the currently edited line with the cursor position and returns the start position and the completion candidates for the partial word to be completed. "ls /usr/loc" => Ok((3, vec!["/usr/local/"])) Read more

[src]

Updates the edited line with the elected candidate.