Function rng
pub fn rng() -> ThreadRng
Access a fast, pre-initialized generator
This is a handle to the local ThreadRng.
See also crate::rngs for alternatives.
Example
use *;
#
Security
Refer to [ThreadRng#Security].
Panics
This method panics in case of SysRng failure during initial seeding.