pub fn completions(
        &self,
        config: &CompletionConfig,
        position: FilePosition,
    ) -> Cancelable<Option<Vec<CompletionItem>>> {
        self.with_db(|db| completion::completions(db, config, position).map(Into::into))
    }
/// Computes completions at the given position.
Computes completions at the given position.
Computes completions at the given position .
pub fn completions(
        &self,
        config: &CompletionConfig,
        position: FilePosition,
    ) -> Cancelable<Option<Vec<CompletionItem>>> {
        self.with_db(|db| completion::completions(db, config, position).map(Into::into))
    }
pub fn completions ( & self , config : & CompletionConfig , position : FilePosition , ) -> Cancelable < Option < Vec < CompletionItem > > > { self . with_db ( | db | completion :: completions ( db , config , position ) . map ( Into :: into ) ) }
Computes completions at the given position.
Computes completions at the given position .
&self
config
&CompletionConfig
position
FilePosition