Function rng
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].
rngfn rng() -> ThreadRng
Access a fast, pre-initialized generator
This is a handle to the local ThreadRng.
See also crate::rngs for alternatives.
use *;
#
Refer to [ThreadRng#Security].