Trait rand::distributions::range::SampleRange
[−]
[src]
pub trait SampleRange: PartialOrd + Sized { type T: RangeImpl<X = Self>; }
Helper trait for creating objects using the correct implementation of
RangeImpl
for the sampling type; this enables Range::new(a, b)
to work.