Struct proptest_arbitrary::CharParameters
[−]
[src]
pub struct CharParameters<'a> { /* fields omitted */ }Parameters to pass to proptest::char::CharStrategy::new(..).
Trait Implementations
impl<'a> Default for CharParameters<'a>[src]
Equivalent to proptest::char::ANY.
impl<'a> Clone for CharParameters<'a>[src]
fn clone(&self) -> CharParameters<'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> PartialEq for CharParameters<'a>[src]
fn eq(&self, __arg_0: &CharParameters<'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: &CharParameters<'a>) -> bool[src]
This method tests for !=.
impl<'a> Eq for CharParameters<'a>[src]
impl<'a> Hash for CharParameters<'a>[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[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 for CharParameters<'a>[src]
impl<'a> From<(Cow<'a, [char]>, Cow<'a, [(char, char)]>, Cow<'a, [(char, char)]>)> for CharParameters<'a>[src]
fn from(
original: (Cow<'a, [char]>, Cow<'a, [(char, char)]>, Cow<'a, [(char, char)]>)
) -> CharParameters<'a>[src]
original: (Cow<'a, [char]>, Cow<'a, [(char, char)]>, Cow<'a, [(char, char)]>)
) -> CharParameters<'a>
Performs the conversion.
impl<'a> Generic for CharParameters<'a>[src]
type Repr = HCons<Cow<'a, [char]>, HCons<Cow<'a, [(char, char)]>, HCons<Cow<'a, [(char, char)]>, HNil>>>
The generic representation type
fn into(self) -> Self::Repr[src]
Go from something to Repr
fn from(r: Self::Repr) -> Self[src]
Go from Repr to something
fn convert_from<A>(a: A) -> Self where
A: Generic<Repr = Self::Repr>, [src]
A: Generic<Repr = Self::Repr>,
From one type to another using a type with a compatible generic representation