pub trait DistributionExt {
// Provided method
fn rand<T>(&self, rng: &mut (impl ?Sized + Rng)) -> T
where Self: Distribution<T> { ... }
}
Provided Methods§
fn rand<T>(&self, rng: &mut (impl ?Sized + Rng)) -> Twhere
Self: 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.