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

impl StructuralPartialEq for RngSeed

Auto Trait Implementations

impl Freeze for RngSeed

impl RefUnwindSafe for RngSeed

impl Send for RngSeed

impl Sync for RngSeed

impl Unpin for RngSeed

impl UnsafeUnpin for RngSeed

impl UnwindSafe for RngSeed

Blanket Implementations

impl<T> Any for RngSeed where T: 'static + ?Sized,

impl<T> Borrow<T> for RngSeed where T: ?Sized,

impl<T> BorrowMut<T> for RngSeed where T: ?Sized,

impl<T> CloneToUninit for RngSeed where T: Clone,

impl<T> From<T> for RngSeed

impl<T> ToOwned for RngSeed where T: Clone,

impl<T> ToString for RngSeed where T: Display + ?Sized,

impl<T, U> Into<U> for RngSeed where U: From<T>,

impl<T, U> TryFrom<U> for RngSeed where U: Into<T>,

impl<T, U> TryInto<U> for RngSeed where U: TryFrom<T>,