pub struct HashSetGenerator<G, T> { /* private fields */ }Expand description
Generator for HashSet<T>. Created by hashsets().
Implementations§
Trait Implementations§
Source§impl<T, G> Generator<HashSet<T>> for HashSetGenerator<G, T>
impl<T, G> Generator<HashSet<T>> for HashSetGenerator<G, T>
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<G, T> Freeze for HashSetGenerator<G, T>where
G: Freeze,
impl<G, T> RefUnwindSafe for HashSetGenerator<G, T>where
G: RefUnwindSafe,
impl<G, T> Send for HashSetGenerator<G, T>where
G: Send,
impl<G, T> Sync for HashSetGenerator<G, T>where
G: Sync,
impl<G, T> Unpin for HashSetGenerator<G, T>where
G: Unpin,
impl<G, T> UnsafeUnpin for HashSetGenerator<G, T>where
G: UnsafeUnpin,
impl<G, T> UnwindSafe for HashSetGenerator<G, T>where
G: 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