pub struct WyRand { /* private fields */ }
Expand description
A WyRand PRNG instance. Note: This PRNG is NOT cryptographically secure.
Output type for the PRNG.
Create a new WyRand
instance using a specific seed.
Generate a new number using the WyRand
PRNG.
Constrain a randomly generated number to a fixed range.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.