Struct clang::CompletionResult [] [src]

pub struct CompletionResult<'r> {
    // some fields omitted
}

A code completion result.

Methods

impl<'r> CompletionResult<'r>
[src]

fn get_kind(&self) -> EntityKind

Returns the categorization of the AST entity this code completion result produces.

fn get_string(&self) -> CompletionString<'r>

Returns the completion string for this code completion result.

Trait Implementations

impl<'r> Clone for CompletionResult<'r>
[src]

fn clone(&self) -> CompletionResult<'r>

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

impl<'r> Copy for CompletionResult<'r>
[src]

impl<'r> Eq for CompletionResult<'r>
[src]

impl<'r> Ord for CompletionResult<'r>
[src]

fn cmp(&self, other: &CompletionResult<'r>) -> Ordering

This method returns an Ordering between self and other. Read more

impl<'r> PartialEq for CompletionResult<'r>
[src]

fn eq(&self, other: &CompletionResult<'r>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl<'r> PartialOrd for CompletionResult<'r>
[src]

fn partial_cmp(&self, other: &CompletionResult<'r>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, other: &Rhs) -> bool
1.0.0

This method tests less than (for self and other) and is used by the < operator. Read more

fn le(&self, other: &Rhs) -> bool
1.0.0

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn gt(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than (for self and other) and is used by the > operator. Read more

fn ge(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'r> Debug for CompletionResult<'r>
[src]

fn fmt(&self, formatter: &mut Formatter) -> Result

Formats the value using the given formatter.