Struct quickcheck::StdThreadGen[][src]

pub struct StdThreadGen(_);

StdThreadGen is an RNG in thread-local memory.

This is the default RNG used by quickcheck.

Methods

impl StdThreadGen
[src]

Returns a new thread-local RNG.

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.

Trait Implementations

impl RngCore for StdThreadGen
[src]

Return the next random u32. Read more

Return the next random u64. Read more

Fill dest with random data. Read more

Fill dest entirely with random data. Read more

impl Gen for StdThreadGen
[src]

Auto Trait Implementations

impl !Send for StdThreadGen

impl !Sync for StdThreadGen