pub struct HashMapGenerator<K, V, KT, VT> { /* private fields */ }Expand description
Generator for HashMap<K, V>. Created by hashmaps().
Implementations§
Trait Implementations§
Source§impl<K, V, KT, VT> Generator<HashMap<KT, VT>> for HashMapGenerator<K, V, KT, VT>
impl<K, V, KT, VT> Generator<HashMap<KT, VT>> for HashMapGenerator<K, V, KT, VT>
Source§fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
fn map<U, F>(self, f: F) -> Mapped<T, U, F, Self>
Transform generated values using a function. Read more
Source§fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
fn flat_map<U, G, F>(self, f: F) -> FlatMapped<T, U, G, F, Self>
Generate a value, then use it to choose or configure another generator. Read more
Auto Trait Implementations§
impl<K, V, KT, VT> Freeze for HashMapGenerator<K, V, KT, VT>
impl<K, V, KT, VT> RefUnwindSafe for HashMapGenerator<K, V, KT, VT>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, KT, VT> Send for HashMapGenerator<K, V, KT, VT>
impl<K, V, KT, VT> Sync for HashMapGenerator<K, V, KT, VT>
impl<K, V, KT, VT> Unpin for HashMapGenerator<K, V, KT, VT>
impl<K, V, KT, VT> UnsafeUnpin for HashMapGenerator<K, V, KT, VT>where
K: UnsafeUnpin,
V: UnsafeUnpin,
impl<K, V, KT, VT> UnwindSafe for HashMapGenerator<K, V, KT, VT>where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more