Function std::rand::task_rng

pub fn task_rng() -> @mut IsaacRng

Gives back a lazily initialized task-local random number generator, seeded by the system. Intended to be used in method chaining style, ie task_rng().gen::<int>().