pub trait RandGen<T: NextRandValue>where
Self: Sized,{
// Required method
fn rnd_gen(rng: T) -> (Self, T);
}
Expand description
RandGen
is a trait to generate random values.
RandGen
はランダムな値を生成するためのトレイトです。
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.