[−][src]Struct clang::completion::CompletionResults
A set of code completion results.
Implementations
impl CompletionResults
[src]
pub fn get_diagnostics<'tu>(
&self,
tu: &'tu TranslationUnit<'tu>
) -> Vec<Diagnostic<'tu>>
[src]
&self,
tu: &'tu TranslationUnit<'tu>
) -> Vec<Diagnostic<'tu>>
Returns the diagnostics that were produced prior to the code completion context for this set of code completion results.
pub fn get_context(&self) -> Option<CompletionContext>
[src]
Returns the code completion context for this set of code completion results, if any.
pub fn get_container_kind(&self) -> Option<(EntityKind, bool)>
[src]
Returns the categorization of the entity that contains the code completion context for this set of code completion results and whether that entity is incomplete, if applicable.
pub fn get_objc_selector(&self) -> Option<String>
[src]
Returns the selector or partial selector that has been entered this far for the Objective-C message send context for this set of code completion results.
pub fn get_usr(&self) -> Option<Usr>
[src]
Returns the USR for the entity that contains the code completion context for this set of code completion results, if applicable.
pub fn get_results(&self) -> Vec<CompletionResult>
[src]
Returns the code completion results in this set of code completion results.
Trait Implementations
impl Debug for CompletionResults
[src]
impl Drop for CompletionResults
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompletionResults
impl !Send for CompletionResults
impl !Sync for CompletionResults
impl Unpin for CompletionResults
impl UnwindSafe for CompletionResults
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,