Struct clang::CompletionOptions [] [src]

pub struct CompletionOptions {
    pub macros: bool,
    pub code_patterns: bool,
    pub briefs: bool,
}

A set of options that determines how code completion is run.

Fields

macros: bool

Indicates whether macros will be included in code completion results.

code_patterns: bool

Indicates whether code patterns (e.g., for loops) will be included in code completion results.

briefs: bool

Indicates whether documentation comment briefs will be included in code completion results.

Trait Implementations

impl Hash for CompletionOptions
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for CompletionOptions
[src]

impl PartialEq for CompletionOptions
[src]

fn eq(&self, __arg_0: &CompletionOptions) -> bool

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

fn ne(&self, __arg_0: &CompletionOptions) -> bool

This method tests for !=.

impl Debug for CompletionOptions
[src]

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

Formats the value using the given formatter.

impl Clone for CompletionOptions
[src]

fn clone(&self) -> CompletionOptions

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 Copy for CompletionOptions
[src]

impl From<CXCodeComplete_Flags> for CompletionOptions
[src]

fn from(flags: CXCodeComplete_Flags) -> CompletionOptions

Performs the conversion.

impl Into<CXCodeComplete_Flags> for CompletionOptions
[src]

fn into(self) -> CXCodeComplete_Flags

Performs the conversion.

impl Default for CompletionOptions
[src]

fn default() -> CompletionOptions

Returns the "default value" for a type. Read more