Trait snarkvm_console_program::Uniform
source · pub trait Uniform: Sized {
// Required method
fn rand<R>(rng: &mut R) -> Self
where R: Rng + ?Sized;
}
Expand description
A trait for a uniform random number generator.
pub trait Uniform: Sized {
// Required method
fn rand<R>(rng: &mut R) -> Self
where R: Rng + ?Sized;
}
A trait for a uniform random number generator.