[−][src]Trait rand::distributions::Distribution
Types (distributions) that can be used to create a random instance of T.
It is possible to sample from a distribution through both the
Distribution and Rng traits, via distr.sample(&mut rng) and
rng.sample(distr). They also both offer the sample_iter method, which
produces an iterator that samples from the distribution.
All implementations are expected to be immutable; this has the significant advantage of not needing to consider thread safety, and for most distributions efficient state-less sampling algorithms are available.
Required Methods
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> T
Generate a random value of T, using rng as the source of randomness.
Provided Methods
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng,
Self: Sized,
R: Rng,
Create an iterator that generates random values of T, using rng as
the source of randomness.
Example
use rand::thread_rng; use rand::distributions::{Distribution, Alphanumeric, Uniform, Standard}; let mut rng = thread_rng(); // Vec of 16 x f32: let v: Vec<f32> = Standard.sample_iter(&mut rng).take(16).collect(); // String: let s: String = Alphanumeric.sample_iter(&mut rng).take(7).collect(); // Dice-rolling: let die_range = Uniform::new_inclusive(1, 6); let mut roll_die = die_range.sample_iter(&mut rng); while roll_die.next().unwrap() != 6 { println!("Not a 6; rolling again!"); }
Implementations on Foreign Types
impl<'a, T, D: Distribution<T>> Distribution<T> for &'a D[src]
impl<'a, T, D: Distribution<T>> Distribution<T> for &'a Dfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> T[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> TⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, Implementors
impl Distribution<[f64; 2]> for UnitCircle[src]
impl Distribution<[f64; 2]> for UnitCirclefn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> [f64; 2][src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> [f64; 2]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<[f64; 3]> for UnitSphereSurface[src]
impl Distribution<[f64; 3]> for UnitSphereSurfacefn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> [f64; 3][src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> [f64; 3]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<bool> for Bernoulli[src]
impl Distribution<bool> for Bernoullifn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> bool[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> boolⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<bool> for Standard[src]
impl Distribution<bool> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> bool[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> boolⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<char> for Alphanumeric[src]
impl Distribution<char> for Alphanumericfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> char[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> charⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<char> for Standard[src]
impl Distribution<char> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> char[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> charⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f32> for Standard[src]
impl Distribution<f32> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f32[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f32ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f32> for Open01[src]
impl Distribution<f32> for Open01fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f32[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f32ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f32> for OpenClosed01[src]
impl Distribution<f32> for OpenClosed01fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f32[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f32ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Gamma[src]
impl Distribution<f64> for Gammafn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for ChiSquared[src]
impl Distribution<f64> for ChiSquaredfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for FisherF[src]
impl Distribution<f64> for FisherFfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for StudentT[src]
impl Distribution<f64> for StudentTfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Beta[src]
impl Distribution<f64> for Betafn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for StandardNormal[src]
impl Distribution<f64> for StandardNormalfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Normal[src]
impl Distribution<f64> for Normalfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for LogNormal[src]
impl Distribution<f64> for LogNormalfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Exp[src]
impl Distribution<f64> for Expfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Pareto[src]
impl Distribution<f64> for Paretofn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Cauchy[src]
impl Distribution<f64> for Cauchyfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Triangular[src]
impl Distribution<f64> for Triangularfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Weibull[src]
impl Distribution<f64> for Weibullfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Standard[src]
impl Distribution<f64> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Exp1[src]
impl Distribution<f64> for Exp1fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for Open01[src]
impl Distribution<f64> for Open01fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<f64> for OpenClosed01[src]
impl Distribution<f64> for OpenClosed01fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<i128> for Standard[src]
impl Distribution<i128> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i128[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i128ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<i16> for Standard[src]
impl Distribution<i16> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i16[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i16ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<i32> for Standard[src]
impl Distribution<i32> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i32[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i32ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<i64> for Standard[src]
impl Distribution<i64> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<i8> for Standard[src]
impl Distribution<i8> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i8[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> i8ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<isize> for Standard[src]
impl Distribution<isize> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> isize[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> isizeⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<u128> for Standard[src]
impl Distribution<u128> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u128[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u128ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<u16> for Standard[src]
impl Distribution<u16> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u16[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u16ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<u32> for Standard[src]
impl Distribution<u32> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u32[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u32ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<u64> for Poisson[src]
impl Distribution<u64> for Poissonfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<u64> for Binomial[src]
impl Distribution<u64> for Binomialfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<u64> for Standard[src]
impl Distribution<u64> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u64[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u64ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<u8> for Standard[src]
impl Distribution<u8> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u8[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> u8ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<()> for Standard[src]
impl Distribution<()> for Standardfn sample<R: Rng + ?Sized>(&self, _: &mut R)[src]
fn sample<R: Rng + ?Sized>(&self, _: &mut R)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<usize> for Standard[src]
impl Distribution<usize> for Standardfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> usize[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> usizeⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl Distribution<Vec<f64>> for Dirichlet[src]
impl Distribution<Vec<f64>> for Dirichletfn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Vec<f64>[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Vec<f64>ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<'a, T: Clone> Distribution<T> for WeightedChoice<'a, T>[src]
impl<'a, T: Clone> Distribution<T> for WeightedChoice<'a, T>fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> T[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> TⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A> Distribution<(A,)> for Standard where
Standard: Distribution<A>, [src]
impl<A> Distribution<(A,)> for Standard where
Standard: Distribution<A>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A,)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A,)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B> Distribution<(A, B)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>, [src]
impl<A, B> Distribution<(A, B)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C> Distribution<(A, B, C)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>, [src]
impl<A, B, C> Distribution<(A, B, C)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D> Distribution<(A, B, C, D)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>, [src]
impl<A, B, C, D> Distribution<(A, B, C, D)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E> Distribution<(A, B, C, D, E)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>, [src]
impl<A, B, C, D, E> Distribution<(A, B, C, D, E)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E, F> Distribution<(A, B, C, D, E, F)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>, [src]
impl<A, B, C, D, E, F> Distribution<(A, B, C, D, E, F)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E, F, G> Distribution<(A, B, C, D, E, F, G)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>, [src]
impl<A, B, C, D, E, F, G> Distribution<(A, B, C, D, E, F, G)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F, G)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F, G)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E, F, G, H> Distribution<(A, B, C, D, E, F, G, H)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>, [src]
impl<A, B, C, D, E, F, G, H> Distribution<(A, B, C, D, E, F, G, H)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F, G, H)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F, G, H)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E, F, G, H, I> Distribution<(A, B, C, D, E, F, G, H, I)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>, [src]
impl<A, B, C, D, E, F, G, H, I> Distribution<(A, B, C, D, E, F, G, H, I)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F, G, H, I)[src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> (A, B, C, D, E, F, G, H, I)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E, F, G, H, I, J> Distribution<(A, B, C, D, E, F, G, H, I, J)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>,
Standard: Distribution<J>, [src]
impl<A, B, C, D, E, F, G, H, I, J> Distribution<(A, B, C, D, E, F, G, H, I, J)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>,
Standard: Distribution<J>, fn sample<R: Rng + ?Sized>(
&self,
_rng: &mut R
) -> (A, B, C, D, E, F, G, H, I, J)[src]
fn sample<R: Rng + ?Sized>(
&self,
_rng: &mut R
) -> (A, B, C, D, E, F, G, H, I, J)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E, F, G, H, I, J, K> Distribution<(A, B, C, D, E, F, G, H, I, J, K)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>,
Standard: Distribution<J>,
Standard: Distribution<K>, [src]
impl<A, B, C, D, E, F, G, H, I, J, K> Distribution<(A, B, C, D, E, F, G, H, I, J, K)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>,
Standard: Distribution<J>,
Standard: Distribution<K>, fn sample<R: Rng + ?Sized>(
&self,
_rng: &mut R
) -> (A, B, C, D, E, F, G, H, I, J, K)[src]
fn sample<R: Rng + ?Sized>(
&self,
_rng: &mut R
) -> (A, B, C, D, E, F, G, H, I, J, K)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<A, B, C, D, E, F, G, H, I, J, K, L> Distribution<(A, B, C, D, E, F, G, H, I, J, K, L)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>,
Standard: Distribution<J>,
Standard: Distribution<K>,
Standard: Distribution<L>, [src]
impl<A, B, C, D, E, F, G, H, I, J, K, L> Distribution<(A, B, C, D, E, F, G, H, I, J, K, L)> for Standard where
Standard: Distribution<A>,
Standard: Distribution<B>,
Standard: Distribution<C>,
Standard: Distribution<D>,
Standard: Distribution<E>,
Standard: Distribution<F>,
Standard: Distribution<G>,
Standard: Distribution<H>,
Standard: Distribution<I>,
Standard: Distribution<J>,
Standard: Distribution<K>,
Standard: Distribution<L>, fn sample<R: Rng + ?Sized>(
&self,
_rng: &mut R
) -> (A, B, C, D, E, F, G, H, I, J, K, L)[src]
fn sample<R: Rng + ?Sized>(
&self,
_rng: &mut R
) -> (A, B, C, D, E, F, G, H, I, J, K, L)ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<Option<T>> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<Option<T>> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Option<T>[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Option<T>ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 0]> for Standard[src]
impl<T> Distribution<[T; 0]> for Standardfn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 0][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 0]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 1]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 1]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 1][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 1]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 2]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 2]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 2][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 2]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 3]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 3]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 3][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 3]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 4]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 4]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 4][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 4]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 5]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 5]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 5][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 5]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 6]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 6]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 6][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 6]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 7]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 7]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 7][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 7]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 8]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 8]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 8][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 8]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 9]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 9]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 9][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 9]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 10]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 10]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 10][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 10]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 11]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 11]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 11][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 11]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 12]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 12]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 12][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 12]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 13]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 13]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 13][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 13]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 14]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 14]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 14][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 14]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 15]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 15]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 15][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 15]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 16]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 16]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 16][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 16]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 17]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 17]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 17][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 17]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 18]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 18]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 18][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 18]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 19]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 19]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 19][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 19]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 20]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 20]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 20][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 20]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 21]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 21]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 21][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 21]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 22]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 22]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 22][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 22]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 23]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 23]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 23][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 23]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 24]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 24]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 24][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 24]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 25]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 25]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 25][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 25]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 26]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 26]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 26][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 26]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 27]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 27]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 27][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 27]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 28]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 28]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 28][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 28]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 29]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 29]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 29][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 29]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 30]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 30]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 30][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 30]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 31]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 31]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 31][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 31]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<[T; 32]> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<[T; 32]> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 32][src]
fn sample<R: Rng + ?Sized>(&self, _rng: &mut R) -> [T; 32]ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<T> Distribution<Wrapping<T>> for Standard where
Standard: Distribution<T>, [src]
impl<T> Distribution<Wrapping<T>> for Standard where
Standard: Distribution<T>, fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Wrapping<T>[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Wrapping<T>ⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<X> Distribution<usize> for WeightedIndex<X> where
X: SampleUniform + PartialOrd, [src]
impl<X> Distribution<usize> for WeightedIndex<X> where
X: SampleUniform + PartialOrd, fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> usize[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> usizeⓘImportant traits for DistIter<'a, D, R, T>fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, [src]
ⓘImportant traits for DistIter<'a, D, R, T>
fn sample_iter<'a, R>(&'a self, rng: &'a mut R) -> DistIter<'a, Self, R, T> where
Self: Sized,
R: Rng, impl<X: SampleUniform> Distribution<X> for Uniform<X>[src]
impl<X: SampleUniform> Distribution<X> for Uniform<X>