DeterministicRng

Trait DeterministicRng 

Source
pub trait DeterministicRng: Rng {
    // Required method
    fn is_deterministic(&self) -> bool;
}
Expand description

Trait for deterministic random number generators

RNGs implementing this trait produce reproducible sequences when seeded with the same seed value.

Required Methods§

Source

fn is_deterministic(&self) -> bool

Check if the RNG is in a deterministic state

Implementors§