Module random

Source

Structs§

FisherYates
Implementation of Fisher-Yates algorithm. This is modified version of https://github.com/adambudziak/shuffle/blob/master/src/fy.rs
VecChooseIter

Traits§

ChooseRandom
RandomRange

Functions§

coin_toss
flip_coin
gen_range
rand
returns a pseudo-random number in the range of 0 to u32::MAX.
random
random_angle
random_around
random_box
random_circle
random_dir
random_i32
random_offset
random_range
random_usize
random_vec
srand
Seeds the pseudo-random number generator used by rand() with the value seed.
toss_coin