Struct proptest::tuple::TupleValueTree [−][src]
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]
fn clone(&self) -> TupleValueTree<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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
.
fn current(&self) -> Self::Value
[src]
fn simplify(&mut self) -> bool
[src]
fn complicate(&mut self) -> bool
[src]
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]
Auto Trait Implementations
impl<T> Send for TupleValueTree<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for TupleValueTree<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for TupleValueTree<T> where
T: Unpin,
[src]
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,