Module halo2_backend::multicore
source · Structs§
- Represents a fork-join scope which can be used to spawn any number of tasks. +
Module halo2_backend::
multicore Structs§
- Represents a fork-join scope which can be used to spawn any number of tasks. See
scope()
for more information.
Traits§
- An iterator that supports “random access” to its data, meaning that you can split it at arbitrary indices and draw data from those points.
IntoParallelIterator
implements the conversion to aParallelIterator
.IntoParallelRefIterator
implements the conversion to a diff --git a/halo2_backend/multicore/trait.TryFoldAndReduce.html b/halo2_backend/multicore/trait.TryFoldAndReduce.html index 58f6270b7..e06f85c73 100644 --- a/halo2_backend/multicore/trait.TryFoldAndReduce.html +++ b/halo2_backend/multicore/trait.TryFoldAndReduce.html @@ -14,14 +14,14 @@ }); -Trait halo2_backend::
source ·multicore:: TryFoldAndReduce pub trait TryFoldAndReduce<T, E> { +
Trait halo2_backend::
multicore:: TryFoldAndReduce pub trait TryFoldAndReduce<T, E> { // Required method fn try_fold_and_reduce( self, identity: impl Fn() -> T + Send + Sync, fold_op: impl Fn(T, Result<T, E>) -> Result<T, E> + Send + Sync ) -> Result<T, E>; -}
Required Methods§
source fn try_fold_and_reduce( +}
Required Methods§
fn try_fold_and_reduce( self, identity: impl Fn() -> T + Send + Sync, fold_op: impl Fn(T, Result<T, E>) -> Result<T, E> + Send + Sync @@ -31,7 +31,7 @@ The
try_fold_and_reduce
function can only be called by a iter withResult<T, E>
item type because thefold_op
must meet the trait bounds of bothtry_fold
andtry_reduce
from rayon. -Object Safety§
This trait is not object safe.Implementors§
source§ impl<T, E, I> TryFoldAndReduce<T, E> for I
where +Object Safety§
This trait is not object safe.Implementors§
§ impl<T, E, I> TryFoldAndReduce<T, E> for I