Struct RangeSubset
pub struct RangeSubset<T> { /* private fields */ }
Strategy to generate Vecs by sampling a subset from an index range.
This is created by the range_subset function in the same module.
Trait Implementations
impl<T> Strategy for RangeSubset<T>
where
T: Copy + Eq + Hash + Debug,
Range<T>: ExactSizeIterator<Item = T>,
type Tree = RangeSubsetValueTree<T>;type Value = Vec<T>;fn new_tree(&self, runner: &mut TestRunner) -> Result<Self::Tree, Reason>
impl<T: Debug> Debug for RangeSubset<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result