Trait quickcheck::Gen [] [src]

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

Gen wraps a rand::Rng 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

Implementors