Struct BTreeSetStrategy
#[must_use = "strategies do nothing unless used"]
pub struct BTreeSetStrategy<T>(/* private field */)
where
T: Strategy,
T::Value: Ord,;
Strategy to create BTreeSets with a length in a certain range.
Created by the btree_set() function in the same module.
Trait Implementations
impl<T> Clone for BTreeSetStrategy<T>
where
T: Strategy + Clone,
T::Value: Ord,
fn clone(&self) -> Self
impl<T> Debug for BTreeSetStrategy<T>
where
T: Strategy + Debug,
T::Value: Ord,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T> Strategy for BTreeSetStrategy<T>
where
T: Strategy,
T::Value: Ord,
type Tree = BTreeSetValueTree<<T as Strategy>::Tree>;type Value = BTreeSet<<T as Strategy>::Value>;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>