Function random::next_u64

source ·
pub fn next_u64() -> u64
Expand description

Returns a random u64.

Consider using init_rng if calling this function in a loop, or if you don’t require cryptographically secure random numbers.