Struct quickcheck:: StdGen
[−]
[src]
pub struct StdGen<R> { // some fields omitted }
StdGen is the default implementation of Gen
.
Values of type StdGen
can be created with the gen
function in this
crate.
Methods
impl<R: Rng> StdGen<R>
Returns a StdGen
with the given configuration using any random number
generator.
The size
parameter controls the size of random values generated.
For example, it specifies the maximum length of a randomly generated vector
and also will specify the maximum magnitude of a randomly generated number.