pub fn sim_random_range<T>(range: Range<T>) -> Twhere
T: SampleUniform + PartialOrd,Expand description
Generate a random value within a specified range using the thread-local simulation RNG.
This function provides deterministic randomness for values within a range. The same seed will always produce the same sequence of values.
§Type Parameters
T- The type to generate. Must implement SampleUniform.
§Parameters
range- The range to sample from (exclusive upper bound).
Generate a random value within a specified range.