Function synfuzz::choice

source ·
pub fn choice(choices: Vec<Box<dyn Generator>>) -> impl Generator
Expand description

choice is a helper to create a Choice Generator. There is also a macro that generates the Vec and Boxes the individual generators being passed as choices for brevity and simplicity