pub trait RngBits: Rng {
// Provided method
fn gen_bits<T>(&mut self, bits: u32) -> T
where Standard: Distribution<T> { ... }
}
Expand description
Provided Methods§
Sourcefn gen_bits<T>(&mut self, bits: u32) -> Twhere
Standard: Distribution<T>,
fn gen_bits<T>(&mut self, bits: u32) -> Twhere
Standard: Distribution<T>,
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.