pub trait Randomize<T> {
fn randomize<R: Rng, D: Distribution<T>>(&mut self, rng: &mut R, dist: &D);
}
Expand description
Something that has parameters that can be randomized from a generic distribution.
pub trait Randomize<T> {
fn randomize<R: Rng, D: Distribution<T>>(&mut self, rng: &mut R, dist: &D);
}
Something that has parameters that can be randomized from a generic distribution.