Module rand::distributions::range [] [src]

A distribution generating numbers within a given range.

Structs

Range

Sample values uniformly between two bounds.

RangeFloat

Implementation of RangeImpl for float types.

RangeInt

Implementation of RangeImpl for integer types.

Traits

RangeImpl

Helper trait handling actual range sampling.

SampleRange

Helper trait for creating objects using the correct implementation of RangeImpl for the sampling type; this enables Range::new(a, b) to work.