random

Function random 

Source
pub fn random() -> f64
Expand description

Returns a floating-point, pseudo-random number in the range 0–1 (inclusive of 0, but not 1) with approximately uniform distribution over that range.