Is it possible?
I have a custom
struct, which I want to pass to each of the functions in a vector of boxed functions (
Vec<Box<Fn(Struct1) -> Struct2>> ).
I tried to use Rayon (https://docs.rs/crate/rayon/1.0.3), but every time I get different errors: either
Parallelterator is not implemented as a trait, or there’s no
Sync implementations for the boxed functions in the vector.
If it is possible, how exactly can it be done?