Struct clang::ThreadOptions [] [src]

pub struct ThreadOptions {
    pub editing: bool,
    pub indexing: bool,
}

A set of options that determines which types of threads should use background priority.

Fields

Indicates whether threads creating for editing purposes should use background priority.

Indicates whether threads creating for indexing purposes should use background priority.

Trait Implementations

impl Default for ThreadOptions
[src]

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

impl Copy for ThreadOptions
[src]

impl Clone for ThreadOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ThreadOptions
[src]

Formats the value using the given formatter.

impl PartialEq for ThreadOptions
[src]

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

This method tests for !=.

impl Eq for ThreadOptions
[src]

impl Hash for ThreadOptions
[src]

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

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

impl From<CXGlobalOptFlags> for ThreadOptions
[src]

Performs the conversion.