fn range_sample<T: SampleRange + cmp::PartialOrd + Copy, R: Rng>(
    range: &Range<T>,
    rng: &mut R,
) -> T {
    // Build a `rand` crate Range. We use `std`s Range for the cool `a..b` syntax ;)
    distributions::Range::new(range.start, range.end).ind_sample(rng)
}
/// Samples a random element from a range.
Samples a random element from a range.
Samples a random element from a range .
fn range_sample<T: SampleRange + cmp::PartialOrd + Copy, R: Rng>(
    range: &Range<T>,
    rng: &mut R,
) -> T {
    // Build a `rand` crate Range. We use `std`s Range for the cool `a..b` syntax ;)
    distributions::Range::new(range.start, range.end).ind_sample(rng)
}
fn range_sample < T : SampleRange + cmp :: PartialOrd + Copy , R : Rng > ( range : & Range < T > , rng : & mut R , ) -> T { // Build a `rand` crate Range. We use `std`s Range for the cool `a..b` syntax ;) distributions :: Range :: new ( range . start , range . end ) . ind_sample ( rng ) }
Samples a random element from a range.
Samples a random element from a range .
range
&Range<T>
rng
&mut R