Trait rand::distributions::uniform::SampleUniform [−][src]
pub trait SampleUniform: Sized { type Sampler: UniformSampler<X = Self>; }
Expand description
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>
[src]
type Sampler: UniformSampler<X = Self>
[src]The UniformSampler
implementation supporting type X
.
Implementations on Foreign Types
type Sampler = UniformInt<i8>
type Sampler = UniformInt<i16>
type Sampler = UniformInt<i32>
type Sampler = UniformInt<i64>
type Sampler = UniformInt<i128>
type Sampler = UniformInt<isize>
type Sampler = UniformInt<u8>
type Sampler = UniformInt<u16>
type Sampler = UniformInt<u32>
type Sampler = UniformInt<u64>
type Sampler = UniformInt<usize>
type Sampler = UniformInt<u128>
type Sampler = UniformInt<u64x2>
type Sampler = UniformInt<i64x2>
type Sampler = UniformInt<u64x4>
type Sampler = UniformInt<i64x4>
type Sampler = UniformInt<u64x8>
type Sampler = UniformInt<i64x8>
type Sampler = UniformInt<u32x2>
type Sampler = UniformInt<i32x2>
type Sampler = UniformInt<u32x4>
type Sampler = UniformInt<i32x4>
type Sampler = UniformInt<u32x8>
type Sampler = UniformInt<i32x8>
type Sampler = UniformInt<u32x16>
type Sampler = UniformInt<i32x16>
type Sampler = UniformInt<u16x2>
type Sampler = UniformInt<i16x2>
type Sampler = UniformInt<u16x4>
type Sampler = UniformInt<i16x4>
type Sampler = UniformInt<u16x8>
type Sampler = UniformInt<i16x8>
type Sampler = UniformInt<u16x16>
type Sampler = UniformInt<i16x16>
type Sampler = UniformInt<u16x32>
type Sampler = UniformInt<i16x32>
type Sampler = UniformInt<u8x2>
type Sampler = UniformInt<i8x2>
type Sampler = UniformInt<u8x4>
type Sampler = UniformInt<i8x4>
type Sampler = UniformInt<u8x8>
type Sampler = UniformInt<i8x8>
type Sampler = UniformInt<u8x16>
type Sampler = UniformInt<i8x16>
type Sampler = UniformInt<u8x32>
type Sampler = UniformInt<i8x32>
type Sampler = UniformInt<u8x64>
type Sampler = UniformInt<i8x64>
type Sampler = UniformChar
type Sampler = UniformFloat<f32>
type Sampler = UniformFloat<f64>
type Sampler = UniformFloat<f32x2>
type Sampler = UniformFloat<f32x4>
type Sampler = UniformFloat<f32x8>
type Sampler = UniformFloat<f32x16>
type Sampler = UniformFloat<f64x2>
type Sampler = UniformFloat<f64x4>
type Sampler = UniformFloat<f64x8>
type Sampler = UniformDuration