Enum proptest_arbitrary::bits::BitsParams
[−]
[src]
pub enum BitsParams<A> {
Ranged(Range<usize>),
Masked(A),
}Parameters for configuring the generation of StrategyFor<Bits<A>>.
Variants
Ranged(Range<usize>)Uses BitSetStrategy::new(range.start, range.end).
Masked(A)Uses BitSetStrategy::masked(mask).
Trait Implementations
impl<A: Clone> Clone for BitsParams<A>[src]
fn clone(&self) -> BitsParams<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> PartialEq for BitsParams<A>[src]
fn eq(&self, __arg_0: &BitsParams<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: &BitsParams<A>) -> bool[src]
This method tests for !=.
impl<A: Eq> Eq for BitsParams<A>[src]
impl<A: Hash> Hash for BitsParams<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