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