Module proptest::option [] [src]

Strategies for generating std::Option values.

Structs

OptionStrategy

Strategy which generates Option values whose inner Some values are generated by another strategy.

OptionValueTree

ValueTree type corresponding to OptionStrategy.

Functions

of

Return a strategy producing Optional values wrapping values from the given delegate strategy.

weighted

Return a strategy producing Optional values wrapping values from the given delegate strategy.