pub trait Rng: Send {
// Required method
fn next_f64(&mut self) -> f64;
}Expand description
A source of uniform f64s in [0, 1). Mirrors random.Random.random() /
rand.Rand.Float64() from the sibling implementations.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".