pub trait Samplable {
// Required method
fn random<R: RngCore>(rng: &mut R) -> Self;
}
Expand description
Type can be uniformely sampled from source of randomness
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.