pub struct ParallelParam {
pub bytes_per_encode: usize,
}
Expand description
Parameters for parallelism.
Fields§
§bytes_per_encode: usize
Number of bytes to split the slices into for computations which can be done in parallel.
Default is 32768.
Implementations§
Source§impl ParallelParam
impl ParallelParam
Sourcepub fn new(bytes_per_encode: usize) -> ParallelParam
pub fn new(bytes_per_encode: usize) -> ParallelParam
Create a new ParallelParam
with the given split arity.
Trait Implementations§
Source§impl Clone for ParallelParam
impl Clone for ParallelParam
Source§fn clone(&self) -> ParallelParam
fn clone(&self) -> ParallelParam
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 ParallelParam
impl Debug for ParallelParam
Source§impl Default for ParallelParam
impl Default for ParallelParam
Source§impl PartialEq for ParallelParam
impl PartialEq for ParallelParam
impl Copy for ParallelParam
impl StructuralPartialEq for ParallelParam
Auto Trait Implementations§
impl Freeze for ParallelParam
impl RefUnwindSafe for ParallelParam
impl Send for ParallelParam
impl Sync for ParallelParam
impl Unpin for ParallelParam
impl UnwindSafe for ParallelParam
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