[][src]Trait quickcheck::Gen

pub trait Gen: RngCore {
    fn size(&self) -> usize;

Gen wraps a rand::RngCore with parameters to control the distribution of random values.

A value with type satisfying the Gen trait can be constructed with the gen function in this crate.

Required methods

fn size(&self) -> usize

Loading content...


impl Gen for StdThreadGen[src]

impl<R: RngCore> Gen for StdGen<R>[src]

Loading content...