Struct VecStrategy
#[must_use = "strategies do nothing unless used"]
pub struct VecStrategy<T: Strategy> { /* private fields */ }
Strategy to create Vecs with a length in a certain range.
Created by the vec() function in the same module.
Trait Implementations
impl<T: Clone + Strategy> Clone for VecStrategy<T>
fn clone(&self) -> Self
impl<T: Debug + Strategy> Debug for VecStrategy<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Strategy> Strategy for VecStrategy<T>
type Tree = VecValueTree<<T as Strategy>::Tree>;type Value = Vec<<T as Strategy>::Value>;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>