Struct datafusion_rustyline::completion::FilenameCompleter [−][src]
pub struct FilenameCompleter { /* fields omitted */ }
A Completer
for file and folder names.
Methods
impl FilenameCompleter
[src]
impl FilenameCompleter
pub fn new() -> FilenameCompleter
[src]
pub fn new() -> FilenameCompleter
Trait Implementations
impl Default for FilenameCompleter
[src]
impl Default for FilenameCompleter
fn default() -> FilenameCompleter
[src]
fn default() -> FilenameCompleter
Returns the "default value" for a type. Read more
impl Completer for FilenameCompleter
[src]
impl Completer for FilenameCompleter
fn complete(&self, line: &str, pos: usize) -> Result<(usize, Vec<String>)>
[src]
fn complete(&self, line: &str, pos: usize) -> Result<(usize, Vec<String>)>
Takes the currently edited line
with the cursor pos
ition and returns the start position and the completion candidates for the partial word to be completed. Read more
fn update(&self, line: &mut LineBuffer, start: usize, elected: &str)
[src]
fn update(&self, line: &mut LineBuffer, start: usize, elected: &str)
Updates the edited line
with the elected
candidate.
Auto Trait Implementations
impl Send for FilenameCompleter
impl Send for FilenameCompleter
impl Sync for FilenameCompleter
impl Sync for FilenameCompleter