DistributionExt

Trait DistributionExt 

Source
pub trait DistributionExt {
    // Provided method
    fn rand<T>(&self, rng: &mut (impl ?Sized + Rng)) -> T
       where Self: Distribution<T> { ... }
}

Provided Methods§

Source

fn rand<T>(&self, rng: &mut (impl ?Sized + Rng)) -> T
where 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.

Implementors§