Struct vrp_cli::extensions::solve::config::ParallelismConfig
source · [−]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
sourceimpl Clone for ParallelismConfig
impl Clone for ParallelismConfig
sourcefn clone(&self) -> ParallelismConfig
fn clone(&self) -> ParallelismConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ParallelismConfig
impl Debug for ParallelismConfig
sourceimpl<'de> Deserialize<'de> for ParallelismConfig
impl<'de> Deserialize<'de> for ParallelismConfig
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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