random
pub struct Default(_);
The default source, which is the Xorshift+ algorithm.
impl Default
fn seed(self, seed: [u64; 2]) -> Default
Seed the source.
impl Source for Default
fn read(&mut self) -> u64
Return the next raw chunk.
fn take<T: Quantity>(&mut self) -> T where Self: Sized
Return the next quantity.
fn iter<'l, T: Quantity>(&'l mut self) -> Sequence<'l, Self, T> where Self: Sized
Return a sequence of quantities.