Struct clang::completion::Completer
source · [−]pub struct Completer<'tu> { /* private fields */ }
Expand description
Runs code completion.
Implementations
sourceimpl<'tu> Completer<'tu>
impl<'tu> Completer<'tu>
sourcepub fn macros(&mut self, macros: bool) -> &mut Completer<'tu>
pub fn macros(&mut self, macros: bool) -> &mut Completer<'tu>
Sets whether macros will be included in code completion results.
sourcepub fn code_patterns(&mut self, code_patterns: bool) -> &mut Completer<'tu>
pub 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.
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more