The struct that holds all the random state. Can be instanced as many times as you want!
pub fn new_random() -> Self[src]
Initalizes with the time since UNIX_EPOCH.
Uses thread local storage to achive perfect memory safety.
The random source, spits out random u64s
Spits out a random of whatever.
Spits out a random of whatever. Same as sample, but makes it easier to port from Rand.
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.