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

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

all_types: bool

Indicates whether all possible types were included.

all_values: bool

Indicates whether all possible values were included.

class_type_values: bool

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

dot_members: bool

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

arrow_members: bool

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

enum_tags: bool

Indicates whether enum tags were included.

union_tags: bool

Indicates whether union tags were included.

struct_tags: bool

Indicates whether struct tags were included.

class_names: bool

Indicates whether C++ class names were included.

namespaces: bool

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

nested_name_specifiers: bool

Indicates whether C++ nested name specifiers were included.

macro_names: bool

Indicates whether macro names were included.

natural_language: bool

Indicates whether natural language results were included.

objc_object_values: bool

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

objc_selector_values: bool

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

objc_property_members: bool

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

objc_interfaces: bool

Indicates whether Objective-C interfaces were included.

objc_protocols: bool

Indicates whether Objective-C protocols were included.

objc_categories: bool

Indicates whether Objective-C categories were included.

objc_instance_messages: bool

Indicates whether Objective-C instance messages were included.

objc_class_messages: bool

Indicates whether Objective-C class messages were included.

objc_selector_names: bool

Indicates whether Objective-C selector names were included.

Trait Implementations

impl Clone for CompletionContext[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<i32> for CompletionContext[src]

impl From<CompletionContext> for CXCompletionContext[src]

impl Eq for CompletionContext[src]

impl Copy for CompletionContext[src]

impl PartialEq<CompletionContext> for CompletionContext[src]

impl Debug for CompletionContext[src]

impl Hash for CompletionContext[src]

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

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.