Function sample_std::sample_all

source ·
pub fn sample_all<S>(samplers: Vec<S>) -> SampleAll<S>where
    S: Sample,
Expand description

Use a Vec of samplers to generate a new Vec of equal length, where each sampler in the Vec is used to sample the value at its corresponding position.

Shrinking proceeds per-element within the generated Vec in index order.