[][src]Function un_algebra::tests::config::prop::collection::vec

pub fn vec<T, impl Into>(
    element: T,
    size: impl Into
) -> VecStrategy<T> where
    T: Strategy,
    impl Into: Into<SizeRange>, 

Create a strategy to generate Vecs containing elements drawn from element and with a size range given by size.

To make a Vec with a fixed number of elements, each with its own strategy, you can instead make a Vec of strategies (boxed if necessary).