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