Struct vrp_cli::extensions::solve::config::ParallelismConfig
source · pub struct ParallelismConfig {
pub num_thread_pools: usize,
pub threads_per_pool: usize,
}Expand description
Data parallelism configuration.
Fields§
§num_thread_pools: usizeNumber of thread pools.
threads_per_pool: usizeSpecifies amount of threads in each thread pool.
Trait Implementations§
source§impl Clone for ParallelismConfig
impl Clone for ParallelismConfig
source§fn clone(&self) -> ParallelismConfig
fn clone(&self) -> ParallelismConfig
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 ParallelismConfig
impl Debug for ParallelismConfig
source§impl<'de> Deserialize<'de> for ParallelismConfig
impl<'de> Deserialize<'de> for ParallelismConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ParallelismConfig
impl Send for ParallelismConfig
impl Sync for ParallelismConfig
impl Unpin for ParallelismConfig
impl UnwindSafe for ParallelismConfig
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