Struct clang::completion::Completer
[−]
[src]
pub struct Completer<'tu> { /* fields omitted */ }
Runs code completion.
Methods
impl<'tu> Completer<'tu>
[src]
fn macros(&mut self, macros: bool) -> &mut Completer<'tu>
Sets whether macros will be included in code completion results.
fn code_patterns(&mut self, code_patterns: bool) -> &mut Completer<'tu>
Sets whether code patterns (e.g., for loops) will be included in code completion results.
fn briefs(&mut self, briefs: bool) -> &mut Completer<'tu>
Sets whether documentation comment briefs will be included in code completion results.
impl<'tu> Completer<'tu>
[src]
fn unsaved(&mut self, unsaved: &[Unsaved]) -> &mut Completer<'tu>
Sets the unsaved files to use.
fn complete(&self) -> CompletionResults
Runs code completion.
Trait Implementations
impl<'tu> Clone for Completer<'tu>
[src]
fn clone(&self) -> Completer<'tu>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more