Struct clang::completion::CompletionString [] [src]

pub struct CompletionString<'r> { /* fields omitted */ }

A semantic string that describes a code completion result.

Methods

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

Returns an integer that represents how likely a user is to select this completion string as determined by internal heuristics. Smaller values indicate higher priorities.

Returns the annotations associated with this completion string.

Returns the availability of this completion string.

Returns the documentation comment brief associated with the declaration this completion string refers to, if applicable.

Returns the name of the semantic parent of the declaration this completion string refers to, if applicable.

Returns the text of the typed text chunk for this completion string, if any.

Returns the chunks of this completion string.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

impl<'r> PartialEq for CompletionString<'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 CompletionString<'r>
[src]

impl<'r> PartialOrd for CompletionString<'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 CompletionString<'r>
[src]

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