[−][src]Trait rand::distributions::uniform::SampleUniform
Helper trait for creating objects using the correct implementation of
UniformSampler
for the sampling type.
See the module documentation on how to implement Uniform
range
sampling for a custom type.
Associated Types
type Sampler: UniformSampler<X = Self>
The UniformSampler
implementation supporting type X
.
Implementations on Foreign Types
impl SampleUniform for i8
[src]
impl SampleUniform for i8
type Sampler = UniformInt<i8>
impl SampleUniform for i16
[src]
impl SampleUniform for i16
type Sampler = UniformInt<i16>
impl SampleUniform for i32
[src]
impl SampleUniform for i32
type Sampler = UniformInt<i32>
impl SampleUniform for i64
[src]
impl SampleUniform for i64
type Sampler = UniformInt<i64>
impl SampleUniform for isize
[src]
impl SampleUniform for isize
type Sampler = UniformInt<isize>
impl SampleUniform for u8
[src]
impl SampleUniform for u8
type Sampler = UniformInt<u8>
impl SampleUniform for u16
[src]
impl SampleUniform for u16
type Sampler = UniformInt<u16>
impl SampleUniform for u32
[src]
impl SampleUniform for u32
type Sampler = UniformInt<u32>
impl SampleUniform for u64
[src]
impl SampleUniform for u64
type Sampler = UniformInt<u64>
impl SampleUniform for usize
[src]
impl SampleUniform for usize
type Sampler = UniformInt<usize>
impl SampleUniform for f32
[src]
impl SampleUniform for f32
type Sampler = UniformFloat<f32>
impl SampleUniform for f64
[src]
impl SampleUniform for f64
type Sampler = UniformFloat<f64>
impl SampleUniform for Duration
[src]
impl SampleUniform for Duration