Returns a random value from an enum, evenly distributed.
Note that this will not yield consistent results across all targets due to dependence on the representation of usize
as an index. See enumValueWithIndex
for further commentary.
Returns a random value from an enum, evenly distributed.
Note that this will not yield consistent results across all targets due to dependence on the representation of usize
as an index. See enumValueWithIndex
for further commentary.