Struct vrp_core::utils::Parallelism [−][src]
pub struct Parallelism { /* fields omitted */ }Expand description
Specifies data parallelism settings.
Implementations
Creates an instance of Parallelism.
Amount of total available CPUs.
Executes operation on thread pool with given index. If there is no thread pool with such index, then executes it without using any of thread pools.
Returns amount of thread pools used. Returns zero if default thread pool is used.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Parallelismimpl Send for Parallelismimpl Sync for Parallelismimpl Unpin for Parallelismimpl !UnwindSafe for ParallelismBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V