Struct Select
#[must_use = "strategies do nothing unless used"]
pub struct Select<T>(/* private field */)
where
T: Clone + Debug + 'static,;
Strategy to produce one value from a fixed collection of options.
Created by the select() in the same module.
Trait Implementations
impl<T> Clone for Select<T>
where
T: Clone + Debug + 'static + Clone,
fn clone(&self) -> Self
impl<T> Debug for Select<T>
where
T: Clone + Debug + 'static + Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T> Strategy for Select<T>
where
T: Clone + Debug + 'static,
type Tree = SelectValueTree<T>;type Value = T;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>