Lines Matching refs:UniformSampler
214 type Sampler: UniformSampler<X = Self>;
227 pub trait UniformSampler: Sized { interface
278 let uniform: Self = UniformSampler::new(low, high); in sample_single()
295 let uniform: Self = UniformSampler::new_inclusive(low, high); in sample_single_inclusive()
431 impl UniformSampler for UniformInt<$ty> {
449 UniformSampler::new_inclusive(low, high - 1)
585 impl UniformSampler for UniformInt<$ty> {
597 UniformSampler::new_inclusive(low, high - 1)
747 impl UniformSampler for UniformChar {
820 impl UniformSampler for UniformFloat<$ty> {
1029 impl UniformSampler for UniformDuration {
1505 SampleBorrow, SampleUniform, UniformFloat, UniformSampler, in test_custom_uniform()
1513 impl UniformSampler for UniformMyF32 { in test_custom_uniform()
1529 UniformSampler::new(low, high) in test_custom_uniform()