Skip to main content

Rng

Trait Rng 

Source
pub trait Rng {
    // Required method
    fn next_u64(&mut self) -> u64;
}
Expand description

Random bits used by sampling stages.

Required Methods§

Source

fn next_u64(&mut self) -> u64

Returns the next 64 random bits.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§