pub struct ParThreshold {
pub min_elements: usize,
pub min_work_per_thread: usize,
}Expand description
Threshold configuration for parallel operations.
Fields§
§min_elements: usizeMinimum number of elements for parallelization.
min_work_per_thread: usizeMinimum work per thread (elements).
Implementations§
Trait Implementations§
Source§impl Clone for ParThreshold
impl Clone for ParThreshold
Source§fn clone(&self) -> ParThreshold
fn clone(&self) -> ParThreshold
Returns a duplicate 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 ParThreshold
impl Debug for ParThreshold
Source§impl Default for ParThreshold
impl Default for ParThreshold
impl Copy for ParThreshold
Auto Trait Implementations§
impl Freeze for ParThreshold
impl RefUnwindSafe for ParThreshold
impl Send for ParThreshold
impl Sync for ParThreshold
impl Unpin for ParThreshold
impl UnwindSafe for ParThreshold
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