Function std::rand::random

pub fn random<T: Rand>() -> T

Returns a random value of a Rand type, using the task's random number generator.