Struct clang::ThreadOptions [−][src]
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]
impl Default for ThreadOptions
fn default() -> ThreadOptions
[src]
fn default() -> ThreadOptions
Returns the "default value" for a type. Read more
impl Copy for ThreadOptions
[src]
impl Copy for ThreadOptions
impl Clone for ThreadOptions
[src]
impl Clone for ThreadOptions
fn clone(&self) -> ThreadOptions
[src]
fn clone(&self) -> ThreadOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ThreadOptions
[src]
impl Debug for ThreadOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ThreadOptions
[src]
impl PartialEq for ThreadOptions
fn eq(&self, other: &ThreadOptions) -> bool
[src]
fn eq(&self, other: &ThreadOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ThreadOptions) -> bool
[src]
fn ne(&self, other: &ThreadOptions) -> bool
This method tests for !=
.
impl Eq for ThreadOptions
[src]
impl Eq for ThreadOptions
impl Hash for ThreadOptions
[src]
impl Hash for ThreadOptions
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
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
impl From<CXGlobalOptFlags> for ThreadOptions
[src]
impl From<CXGlobalOptFlags> for ThreadOptions
fn from(flags: CXGlobalOptFlags) -> ThreadOptions
[src]
fn from(flags: CXGlobalOptFlags) -> ThreadOptions
Performs the conversion.
impl From<ThreadOptions> for CXGlobalOptFlags
[src]
impl From<ThreadOptions> for CXGlobalOptFlags
fn from(options: ThreadOptions) -> CXGlobalOptFlags
[src]
fn from(options: ThreadOptions) -> CXGlobalOptFlags
Performs the conversion.
Auto Trait Implementations
impl Send for ThreadOptions
impl Send for ThreadOptions
impl Sync for ThreadOptions
impl Sync for ThreadOptions