Trait rand_distr::uniform::SampleUniform [−][src]
pub trait SampleUniform { type Sampler: UniformSampler; }
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
[src]
The UniformSampler
implementation supporting type X
.
Implementations on Foreign Types
impl SampleUniform for Duration
[src]
impl SampleUniform for Duration
[src]type Sampler = UniformDuration
impl SampleUniform for isize
[src]
impl SampleUniform for isize
[src]type Sampler = UniformInt<isize>
impl SampleUniform for i8
[src]
impl SampleUniform for i8
[src]type Sampler = UniformInt<i8>
impl SampleUniform for i32
[src]
impl SampleUniform for i32
[src]type Sampler = UniformInt<i32>
impl SampleUniform for u16
[src]
impl SampleUniform for u16
[src]type Sampler = UniformInt<u16>
impl SampleUniform for i128
[src]
impl SampleUniform for i128
[src]type Sampler = UniformInt<i128>
impl SampleUniform for u64
[src]
impl SampleUniform for u64
[src]type Sampler = UniformInt<u64>
impl SampleUniform for f64
[src]
impl SampleUniform for f64
[src]type Sampler = UniformFloat<f64>
impl SampleUniform for u8
[src]
impl SampleUniform for u8
[src]type Sampler = UniformInt<u8>
impl SampleUniform for u32
[src]
impl SampleUniform for u32
[src]type Sampler = UniformInt<u32>
impl SampleUniform for i64
[src]
impl SampleUniform for i64
[src]type Sampler = UniformInt<i64>
impl SampleUniform for u128
[src]
impl SampleUniform for u128
[src]type Sampler = UniformInt<u128>
impl SampleUniform for f32
[src]
impl SampleUniform for f32
[src]type Sampler = UniformFloat<f32>
impl SampleUniform for usize
[src]
impl SampleUniform for usize
[src]type Sampler = UniformInt<usize>
impl SampleUniform for i16
[src]
impl SampleUniform for i16
[src]