fn complete(
        &self, // FIXME should be `&mut self`
        line: &str,
        pos: usize,
        ctx: &Context<'_>,
    ) -> Result<(usize, Vec<Self::Candidate>)> {
        let _ = (line, pos, ctx);
        Ok((0, Vec::with_capacity(0)))
    }
/// 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.
///
/// ("ls /usr/loc", 11) => Ok((3, vec!["/usr/local/"]))
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.


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 .
fn complete(
        &self, // FIXME should be `&mut self`
        line: &str,
        pos: usize,
        ctx: &Context<'_>,
    ) -> Result<(usize, Vec<Self::Candidate>)> {
        let _ = (line, pos, ctx);
        Ok((0, Vec::with_capacity(0)))
    }
fn complete ( & self , // FIXME should be `&mut self` line : & str , pos : usize , ctx : & Context < ' _ > , ) -> Result < ( usize , Vec < Self :: Candidate > ) > { let _ = ( line , pos , ctx ) ; Ok ( ( 0 , Vec :: with_capacity ( 0 ) ) ) }
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.
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 .
&self
line
&str
pos
usize
ctx
&Context<'_>
&self
line
&str
pos
usize
ctx
&Context<'_>