Struct reed_solomon_erasure::ParallelParam
source · 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
sourceimpl ParallelParam
impl ParallelParam
pub fn new(bytes_per_encode: usize) -> ParallelParam
pub fn with_default() -> ParallelParam
Trait Implementations
sourceimpl Clone for ParallelParam
impl Clone for ParallelParam
sourcefn clone(&self) -> ParallelParam
fn clone(&self) -> ParallelParam
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ParallelParam
impl Debug for ParallelParam
sourceimpl PartialEq<ParallelParam> for ParallelParam
impl PartialEq<ParallelParam> for ParallelParam
sourcefn eq(&self, other: &ParallelParam) -> bool
fn eq(&self, other: &ParallelParam) -> bool
impl Copy for ParallelParam
impl StructuralPartialEq for ParallelParam
Auto Trait Implementations
impl RefUnwindSafe for ParallelParam
impl Send for ParallelParam
impl Sync for ParallelParam
impl Unpin for ParallelParam
impl UnwindSafe for ParallelParam
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