Trait probability::source::Source
source · [−]pub trait Source {
fn read_u64(&mut self) -> u64;
fn read_f64(&mut self) -> f64 { ... }
fn read<V>(&mut self) -> V
where
Self: Sized,
V: Value,
{ ... }
fn iter<V>(&'l mut self) -> Sequence<'l, Self, V>ⓘNotable traits for Sequence<'l, S, V>impl<'l, S, V> Iterator for Sequence<'l, S, V>where
S: Source,
V: Value, type Item = V;
where
Self: Sized,
V: Value,
{ ... }
}
Expand description
A source of randomness.