pub trait ParallelOp<T: Float + Send + Sync + Clone + 'static> {
const MIN_PARALLEL_SIZE: usize = 1_000usize;
// Provided method
fn should_parallelize(&self, size: usize) -> bool { ... }
}Expand description
並列操作の基本トレイト Base trait for parallel operations
Provided Associated Constants§
Sourceconst MIN_PARALLEL_SIZE: usize = 1_000usize
const MIN_PARALLEL_SIZE: usize = 1_000usize
並列実行の最小サイズ閾値 Minimum size threshold for parallel execution
Provided Methods§
Sourcefn should_parallelize(&self, size: usize) -> bool
fn should_parallelize(&self, size: usize) -> bool
並列実行が効率的かどうかを判定 Determine if parallel execution is efficient
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.