Struct Perturb
#[must_use = "strategies do nothing unless used"]
pub struct Perturb<S, F> { /* private fields */ }
Strategy perturbation adaptor.
See Strategy::prop_perturb().
Trait Implementations
impl<S: Clone, F> Clone for Perturb<S, F>
fn clone(&self) -> Self
impl<S: Debug, F> Debug for Perturb<S, F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<S: Strategy, O: Debug, F: Fn(S::Value, TestRng) -> O> Strategy for Perturb<S, F>
type Tree = PerturbValueTree<<S as Strategy>::Tree, F>;type Value = O;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>