Struct SBoxedStrategy
#[must_use = "strategies do nothing unless used"]
pub struct SBoxedStrategy<T>(/* private field */);
A boxed Strategy trait object which is also Sync and
Send, as produced by Strategy::sboxed().
Strategies of this type afford cheap shallow cloning via reference
counting by using an Arc internally.
Trait Implementations
impl<T> Clone for SBoxedStrategy<T>
fn clone(&self) -> Self
impl<T: Debug> Debug for SBoxedStrategy<T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T: Debug> Strategy for SBoxedStrategy<T>
type Tree = Box<dyn ValueTree<Value = T>>;type Value = T;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>fn sboxed(self) -> SBoxedStrategy<Self::Value> where Self: Sized + Send + Sync + 'static,fn boxed(self) -> BoxedStrategy<Self::Value> where Self: Sized + 'static,