Struct proptest_arbitrary::ArrayParamMod
[−]
[src]
pub struct ArrayParamMod<A: Clone>(_);
A function taking ParamsFor<A> and transforming it. Allows
callers of arbitrary_with for arrays to mutate the parameters for each
element.
Trait Implementations
impl<A: Clone + Clone> Clone for ArrayParamMod<A>[src]
fn clone(&self) -> ArrayParamMod<A>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<A: Copy + Clone> Copy for ArrayParamMod<A>[src]
impl<A: PartialEq + Clone> PartialEq for ArrayParamMod<A>[src]
fn eq(&self, __arg_0: &ArrayParamMod<A>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ArrayParamMod<A>) -> bool[src]
This method tests for !=.
impl<A: Eq + Clone> Eq for ArrayParamMod<A>[src]
impl<A: PartialOrd + Clone> PartialOrd for ArrayParamMod<A>[src]
fn partial_cmp(&self, __arg_0: &ArrayParamMod<A>) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &ArrayParamMod<A>) -> bool[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &ArrayParamMod<A>) -> bool[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &ArrayParamMod<A>) -> bool[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &ArrayParamMod<A>) -> bool[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl<A: Ord + Clone> Ord for ArrayParamMod<A>[src]
fn cmp(&self, __arg_0: &ArrayParamMod<A>) -> Ordering[src]
This method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.22.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.22.0[src]
Compares and returns the minimum of two values. Read more
impl<A: Hash + Clone> Hash for ArrayParamMod<A>[src]
fn hash<__HA: Hasher>(&self, __arg_0: &mut __HA)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<A: Debug + Clone> Debug for ArrayParamMod<A>[src]
impl<A: Clone> From<fn(_: usize, _: A) -> A> for ArrayParamMod<A>[src]
fn from(original: fn(_: usize, _: A) -> A) -> ArrayParamMod<A>[src]
Performs the conversion.