pub trait Seedable {
    fn set_seed(self, seed: u32) -> Self;
    fn seed(&self) -> u32;
}
Expand description

Trait for functions that require a seed before generating their values

Required Methods

Set the seed for the function implementing the Seedable trait

Getter to retrieve the seed from the function

Implementors