Struct HashMapStrategy

struct HashMapStrategy<K, V>(_)
where
    K: Strategy,
    V: Strategy,
    <K as >::Value: Hash + Eq

Strategy to create HashMaps with a length in a certain range.

Created by the hash_map() function in the same module.

Implementations

impl<K, V> Clone for HashMapStrategy<K, V>

fn clone(self: &Self) -> HashMapStrategy<K, V>

impl<K, V> Debug for HashMapStrategy<K, V>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<K, V> Freeze for HashMapStrategy<K, V>

impl<K, V> RefUnwindSafe for HashMapStrategy<K, V>

impl<K, V> Send for HashMapStrategy<K, V>

impl<K, V> Strategy for HashMapStrategy<K, V>

fn new_tree(self: &Self, runner: &mut TestRunner) -> NewTree<Self>

impl<K, V> Sync for HashMapStrategy<K, V>

impl<K, V> Unpin for HashMapStrategy<K, V>

impl<K, V> UnwindSafe for HashMapStrategy<K, V>

impl<T> Any for HashMapStrategy<K, V>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for HashMapStrategy<K, V>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for HashMapStrategy<K, V>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for HashMapStrategy<K, V>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for HashMapStrategy<K, V>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for HashMapStrategy<K, V>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for HashMapStrategy<K, V>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for HashMapStrategy<K, V>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for HashMapStrategy<K, V>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip for HashMapStrategy<K, V>

fn vzip(self: Self) -> V