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
editing: bool
Indicates whether threads creating for editing purposes should use background priority.
indexing: bool
Indicates whether threads creating for indexing purposes should use background priority.
Trait Implementations
impl Default for ThreadOptions
[src]
fn default() -> ThreadOptions
[src]
Returns the "default value" for a type. Read more
impl Copy for ThreadOptions
[src]
impl Clone for ThreadOptions
[src]
fn clone(&self) -> ThreadOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ThreadOptions
[src]
impl PartialEq for ThreadOptions
[src]
fn eq(&self, __arg_0: &ThreadOptions) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ThreadOptions) -> bool
[src]
This method tests for !=
.
impl Eq for ThreadOptions
[src]
impl Hash for ThreadOptions
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl From<CXGlobalOptFlags> for ThreadOptions
[src]
fn from(flags: CXGlobalOptFlags) -> ThreadOptions
[src]
Performs the conversion.