Trait random::Source [−][src]
A source of randomness.
Required methods
Loading content...Provided methods
fn read_f64(&mut self) -> f64
[src]
Read f64
uniformly distributed over [0, 1]
.
fn read<V>(&mut self) -> V where
Self: Sized,
V: Value,
[src]
Self: Sized,
V: Value,
Read a random value.
fn iter<'l, V>(&'l mut self) -> Sequence<'l, Self, V>ⓘ where
Self: Sized,
V: Value,
[src]
Self: Sized,
V: Value,
Read a sequence of random values.