Struct proptest::strategy::LazyValueTree
source · [−]pub struct LazyValueTree<S: Strategy> { /* private fields */ }
Expand description
Represents a value tree that is initialized on the first call to any methods.
This is used to defer potentially expensive generation to shrinking time. It is public only to allow APIs to expose it as an intermediate value.
Trait Implementations
Auto Trait Implementations
impl<S> !RefUnwindSafe for LazyValueTree<S>
impl<S> Send for LazyValueTree<S> where
S: Send + Sync,
<S as Strategy>::Tree: Send,
impl<S> Sync for LazyValueTree<S> where
S: Send + Sync,
<S as Strategy>::Tree: Sync,
impl<S> Unpin for LazyValueTree<S> where
<S as Strategy>::Tree: Unpin,
impl<S> !UnwindSafe for LazyValueTree<S>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more