Trait smolprng::smol_core::Distribution[][src]

pub trait Distribution<T: Algorithm, N> {
    fn sample(&self, rng: &mut PRNG<T>) -> N;
}
Expand description

Trait signature of the Distribution trait, might be removed and incorperatoed into the PRNG class

Required methods

Samples a specified distribution

Implementors