Struct clang::completion::CompletionContext [] [src]

pub struct CompletionContext {
    pub all_types: bool,
    pub all_values: bool,
    pub class_type_values: bool,
    pub dot_members: bool,
    pub arrow_members: bool,
    pub enum_tags: bool,
    pub union_tags: bool,
    pub struct_tags: bool,
    pub class_names: bool,
    pub namespaces: bool,
    pub nested_name_specifiers: bool,
    pub macro_names: bool,
    pub natural_language: bool,
    pub objc_object_values: bool,
    pub objc_selector_values: bool,
    pub objc_property_members: bool,
    pub objc_interfaces: bool,
    pub objc_protocols: bool,
    pub objc_categories: bool,
    pub objc_instance_messages: bool,
    pub objc_class_messages: bool,
    pub objc_selector_names: bool,
}

Indicates which types of results were included in a set of code completion results.

Fields

Indicates whether all possible types were included.

Indicates whether all possible values were included.

Indicates whether values that resolve to C++ class types were included.

Indicates whether the members of a record that are accessed with the dot operator were included.

Indicates whether the members of a record that are accessed with the arrow operator were included.

Indicates whether enum tags were included.

Indicates whether union tags were included.

Indicates whether struct tags were included.

Indicates whether C++ class names were included.

Indicates whether C++ namespaces and namespace aliases were included.

Indicates whether C++ nested name specifiers were included.

Indicates whether macro names were included.

Indicates whether natural language results were included.

Indicates whether values that resolve to Objective-C objects were included.

Indicates whether values that resolve to Objective-C selectors were included.

Indicates whether the properties of an Objective-C object that are accessed with the dot operator were included.

Indicates whether Objective-C interfaces were included.

Indicates whether Objective-C protocols were included.

Indicates whether Objective-C categories were included.

Indicates whether Objective-C instance messages were included.

Indicates whether Objective-C class messages were included.

Indicates whether Objective-C selector names were included.

Trait Implementations

impl Copy for CompletionContext
[src]

impl Clone for CompletionContext
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CompletionContext
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for CompletionContext
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for CompletionContext
[src]

impl Hash for CompletionContext
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<CXCompletionContext> for CompletionContext
[src]

[src]

Performs the conversion.