pub trait RngSingleton {
type D: DerefMut<Target = ChaCha12Rng>;
// Required method
fn instance() -> Self::D;
}
Expand description
RNG singleton
Required Associated Types§
Sourcetype D: DerefMut<Target = ChaCha12Rng>
type D: DerefMut<Target = ChaCha12Rng>
&mut ChaCha12Rng
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.