Struct proptest_arbitrary::CharParam
[−]
[src]
pub struct CharParam<'a> { /* fields omitted */ }
Parameters to pass to proptest::char::CharStrategy::new(..)
.
Trait Implementations
impl<'a> Default for CharParam<'a>
[src]
Equivalent to proptest::char::ANY
.
impl<'a> Clone for CharParam<'a>
[src]
fn clone(&self) -> CharParam<'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 CharParam<'a>
[src]
fn eq(&self, __arg_0: &CharParam<'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: &CharParam<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Eq for CharParam<'a>
[src]
impl<'a> Hash for CharParam<'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 CharParam<'a>
[src]
impl<'a> From<(Cow<'a, [char]>, Cow<'a, [(char, char)]>, Cow<'a, [(char, char)]>)> for CharParam<'a>
[src]
fn from(
original: (Cow<'a, [char]>, Cow<'a, [(char, char)]>, Cow<'a, [(char, char)]>)
) -> CharParam<'a>
[src]
original: (Cow<'a, [char]>, Cow<'a, [(char, char)]>, Cow<'a, [(char, char)]>)
) -> CharParam<'a>
Performs the conversion.
impl<'a> Generic for CharParam<'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