Struct proptest::tuple::TupleValueTree[][src]

pub struct TupleValueTree<T> { /* fields omitted */ }

Common ValueTree implementation for all tuple strategies.

Implementations

impl<T> TupleValueTree<T>[src]

pub fn new(inner: T) -> Self[src]

Create a new TupleValueTree wrapping inner.

It only makes sense for inner to be a tuple of an arity for which the type implements ValueTree.

Trait Implementations

impl<T: Clone> Clone for TupleValueTree<T>[src]

impl<T: Copy> Copy for TupleValueTree<T>[src]

impl<T: Debug> Debug for TupleValueTree<T>[src]

impl<A: ValueTree> ValueTree for TupleValueTree<(A,)>[src]

type Value = (A::Value,)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree> ValueTree for TupleValueTree<(A, B)>[src]

type Value = (A::Value, B::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree, F: ValueTree, G: ValueTree, H: ValueTree, I: ValueTree, J: ValueTree, K: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E, F, G, H, I, J, K)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value, F::Value, G::Value, H::Value, I::Value, J::Value, K::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree, F: ValueTree, G: ValueTree, H: ValueTree, I: ValueTree, J: ValueTree, K: ValueTree, L: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E, F, G, H, I, J, K, L)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value, F::Value, G::Value, H::Value, I::Value, J::Value, K::Value, L::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree> ValueTree for TupleValueTree<(A, B, C)>[src]

type Value = (A::Value, B::Value, C::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree> ValueTree for TupleValueTree<(A, B, C, D)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree, F: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E, F)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value, F::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree, F: ValueTree, G: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E, F, G)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value, F::Value, G::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree, F: ValueTree, G: ValueTree, H: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E, F, G, H)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value, F::Value, G::Value, H::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree, F: ValueTree, G: ValueTree, H: ValueTree, I: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E, F, G, H, I)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value, F::Value, G::Value, H::Value, I::Value)

The type of the value produced by this ValueTree.

impl<A: ValueTree, B: ValueTree, C: ValueTree, D: ValueTree, E: ValueTree, F: ValueTree, G: ValueTree, H: ValueTree, I: ValueTree, J: ValueTree> ValueTree for TupleValueTree<(A, B, C, D, E, F, G, H, I, J)>[src]

type Value = (A::Value, B::Value, C::Value, D::Value, E::Value, F::Value, G::Value, H::Value, I::Value, J::Value)

The type of the value produced by this ValueTree.

Auto Trait Implementations

impl<T> RefUnwindSafe for TupleValueTree<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for TupleValueTree<T> where
    T: Send
[src]

impl<T> Sync for TupleValueTree<T> where
    T: Sync
[src]

impl<T> Unpin for TupleValueTree<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for TupleValueTree<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,