[][src]Struct clang::completion::Completer

pub struct Completer<'tu> { /* fields omitted */ }

Runs code completion.

Implementations

impl<'tu> Completer<'tu>[src]

pub fn macros(&mut self, macros: bool) -> &mut Completer<'tu>[src]

Sets whether macros will be included in code completion results.

pub fn code_patterns(&mut self, code_patterns: bool) -> &mut Completer<'tu>[src]

Sets whether code patterns (e.g., for loops) will be included in code completion results.

pub fn briefs(&mut self, briefs: bool) -> &mut Completer<'tu>[src]

Sets whether documentation comment briefs will be included in code completion results.

impl<'tu> Completer<'tu>[src]

pub fn unsaved(&mut self, unsaved: &[Unsaved]) -> &mut Completer<'tu>[src]

Sets the unsaved files to use.

pub fn complete(&self) -> CompletionResults[src]

Runs code completion.

Trait Implementations

impl<'tu> Clone for Completer<'tu>[src]

impl<'tu> Debug for Completer<'tu>[src]

Auto Trait Implementations

impl<'tu> RefUnwindSafe for Completer<'tu>

impl<'tu> !Send for Completer<'tu>

impl<'tu> !Sync for Completer<'tu>

impl<'tu> Unpin for Completer<'tu>

impl<'tu> UnwindSafe for Completer<'tu>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.