Enum xsynth_core::channel_group::ThreadCount
source · pub enum ThreadCount {
None,
Auto,
Manual(usize),
}
Expand description
Defines the multithreading options for each task that supports it.
Variants§
None
No multithreading. Run everything on the same thread.
Auto
Run with multithreading, with an automatically determined thread count. Please read this for more information about the thread count selection.
Manual(usize)
Run with multithreading, with the specified thread count.
Trait Implementations§
source§impl Clone for ThreadCount
impl Clone for ThreadCount
source§fn clone(&self) -> ThreadCount
fn clone(&self) -> ThreadCount
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ThreadCount
impl Debug for ThreadCount
source§impl PartialEq for ThreadCount
impl PartialEq for ThreadCount
impl Copy for ThreadCount
impl Eq for ThreadCount
impl StructuralPartialEq for ThreadCount
Auto Trait Implementations§
impl Freeze for ThreadCount
impl RefUnwindSafe for ThreadCount
impl Send for ThreadCount
impl Sync for ThreadCount
impl Unpin for ThreadCount
impl UnwindSafe for ThreadCount
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)