Function winter_rand_utils::rand_vector
source · pub fn rand_vector<R: Randomizable>(n: usize) -> Vec<R>
Expand description
Returns a vector of random value of the specified type and the specified length.
§Panics
Panics if:
- A valid value requires at over 32 bytes.
- A valid value could not be generated after 1000 tries.