Struct clang::ThreadOptions
source · [−]Expand description
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
sourceimpl Clone for ThreadOptions
impl Clone for ThreadOptions
sourcefn clone(&self) -> ThreadOptions
fn clone(&self) -> ThreadOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ThreadOptions
impl Debug for ThreadOptions
sourceimpl Default for ThreadOptions
impl Default for ThreadOptions
sourcefn default() -> ThreadOptions
fn default() -> ThreadOptions
Returns the “default value” for a type. Read more
sourceimpl From<ThreadOptions> for CXGlobalOptFlags
impl From<ThreadOptions> for CXGlobalOptFlags
sourcefn from(options: ThreadOptions) -> CXGlobalOptFlags
fn from(options: ThreadOptions) -> CXGlobalOptFlags
Converts to this type from the input type.
sourceimpl From<i32> for ThreadOptions
impl From<i32> for ThreadOptions
sourcefn from(flags: CXGlobalOptFlags) -> ThreadOptions
fn from(flags: CXGlobalOptFlags) -> ThreadOptions
Converts to this type from the input type.
sourceimpl Hash for ThreadOptions
impl Hash for ThreadOptions
sourceimpl PartialEq<ThreadOptions> for ThreadOptions
impl PartialEq<ThreadOptions> for ThreadOptions
sourcefn eq(&self, other: &ThreadOptions) -> bool
fn eq(&self, other: &ThreadOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ThreadOptions) -> bool
fn ne(&self, other: &ThreadOptions) -> bool
This method tests for !=
.
impl Copy for ThreadOptions
impl Eq for ThreadOptions
impl StructuralEq for ThreadOptions
impl StructuralPartialEq for ThreadOptions
Auto Trait Implementations
impl RefUnwindSafe for ThreadOptions
impl Send for ThreadOptions
impl Sync for ThreadOptions
impl Unpin for ThreadOptions
impl UnwindSafe for ThreadOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more