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