pub trait FromRandom {
// Required method
fn from_random() -> Self;
}
Expand description
Create structures filled with random number to be used for testing and benchmarking
Required Methods§
fn from_random() -> Self
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.