Struct LazyValueTree

pub struct LazyValueTree<S: Strategy> { /* private fields */ }

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

impl<S: Strategy> Clone for LazyValueTree<S> where S::Tree: Clone,

fn clone(&self) -> Self

impl<S: Strategy> Debug for LazyValueTree<S> where S::Tree: Debug,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<S> !RefUnwindSafe for LazyValueTree<S>

impl<S> !UnwindSafe for LazyValueTree<S>

impl<S> Freeze for LazyValueTree<S> where LazyValueTreeState<S>: Freeze,

impl<S> Send for LazyValueTree<S> where LazyValueTreeState<S>: Send,

impl<S> Sync for LazyValueTree<S> where LazyValueTreeState<S>: Sync,

impl<S> Unpin for LazyValueTree<S> where LazyValueTreeState<S>: Unpin,

impl<S> UnsafeUnpin for LazyValueTree<S> where LazyValueTreeState<S>: UnsafeUnpin,

Blanket Implementations

impl<T> Any for LazyValueTree<S> where T: 'static + ?Sized,

impl<T> Borrow<T> for LazyValueTree<S> where T: ?Sized,

impl<T> BorrowMut<T> for LazyValueTree<S> where T: ?Sized,

impl<T> CloneToUninit for LazyValueTree<S> where T: Clone,

impl<T> From<T> for LazyValueTree<S>

impl<T> ToOwned for LazyValueTree<S> where T: Clone,

impl<T, U> Into<U> for LazyValueTree<S> where U: From<T>,

impl<T, U> TryFrom<U> for LazyValueTree<S> where U: Into<T>,

impl<T, U> TryInto<U> for LazyValueTree<S> where U: TryFrom<T>,