pub trait IntoEcsPar: ParallelIterator {
// Provided method
fn into_ecs_par(self) -> EcsPar<Self> { ... }
}Expand description
A trait for wrapping Rayon’s parallel iterators in EcsPar in order to
intercept function call to a Rayon API then to execute them in the ECS
context.
Provided Methods§
Sourcefn into_ecs_par(self) -> EcsPar<Self>
fn into_ecs_par(self) -> EcsPar<Self>
Wraps Rayon’s parallel iterator in EcsPar.
EcsPar calls an ECS function to make use of ECS workers instead of
Rayon’s workers.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.