if it's any help, since you're doing this w/ rayon: - trait object must have +Sync included, e.g. Box<YourTrait+Sync> - trait object must be owned, not borrowed (no &dyn) b/c Rust can't assume the owner will outlive the borrowing threads. go with: Arc<Vec<Box<YourTrait+Sync>>>
-
-
This Tweet is unavailable.
-
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD