Trait SampleUniform

trait SampleUniform: Sized

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: TraitBound { trait_: Path { path: "UniformSampler", id: Id(472), args: Some(AngleBracketed { args: [], constraints: [AssocItemConstraint { name: "X", args: None, binding: Equality(Type(Generic("Self"))) }] }) }, generic_params: [], modifier: None }

The UniformSampler implementation supporting type X.

Implementors