Enum RngSeed
pub enum RngSeed
The seed for the RNG, can either be random or specified as a u64.
Variants
-
Random Default case, use a random value
-
Fixed(u64) Use a specific value to generate a seed
Trait Implementations
impl Clone for RngSeed
fn clone(&self) -> Self
impl Copy for RngSeed
impl Debug for RngSeed
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for RngSeed
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl FromStr for RngSeed
type Err = ();fn from_str(s: &str) -> Result<Self, Self::Err>
impl PartialEq for RngSeed
fn eq(&self, other: &Self) -> bool