pub trait ParRandom {
type Output;
// Required method
fn par_random(&mut self) -> Self::Output;
}Expand description
A trait for parallel random generators.
Required Associated Types§
Required Methods§
Sourcefn par_random(&mut self) -> Self::Output
fn par_random(&mut self) -> Self::Output
Returns a random instance of the output type in parallel.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".