Struct clang::completion::CompletionResult [] [src]

pub struct CompletionResult<'r> {
    pub kind: EntityKind,
    pub string: CompletionString<'r>,
}

A code completion result.

Fields

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

The completion string for this code completion result.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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

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

This method tests for !=.

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

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

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

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

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

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

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

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

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