Struct proptest::test_runner::TestRng [−][src]
pub struct TestRng { /* fields omitted */ }Proptest's random number generator.
Currently, this is just a wrapper around XorShiftRng.
Trait Implementations
impl Clone for TestRng[src]
impl Clone for TestRngfn clone(&self) -> TestRng[src]
fn clone(&self) -> TestRngReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for TestRng[src]
impl Debug for TestRngfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl RngCore for TestRng[src]
impl RngCore for TestRngfn next_u32(&mut self) -> u32[src]
fn next_u32(&mut self) -> u32Return the next random u32. Read more
fn next_u64(&mut self) -> u64[src]
fn next_u64(&mut self) -> u64Return the next random u64. Read more
fn fill_bytes(&mut self, dest: &mut [u8])[src]
fn fill_bytes(&mut self, dest: &mut [u8])Fill dest with random data. Read more
fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error>[src]
fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error>Fill dest entirely with random data. Read more