pub struct FlatMapped<T, U, G2, F, G1> { /* private fields */ }Expand description
Result of Generator::flat_map.
Trait Implementations§
Source§impl<T, U, G2, F, G1> Generator<U> for FlatMapped<T, U, G2, F, G1>
impl<T, U, G2, F, G1> Generator<U> for FlatMapped<T, U, G2, F, G1>
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<T, U, G2, F, G1> Freeze for FlatMapped<T, U, G2, F, G1>
impl<T, U, G2, F, G1> RefUnwindSafe for FlatMapped<T, U, G2, F, G1>where
G1: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, U, G2, F, G1> Send for FlatMapped<T, U, G2, F, G1>
impl<T, U, G2, F, G1> Sync for FlatMapped<T, U, G2, F, G1>
impl<T, U, G2, F, G1> Unpin for FlatMapped<T, U, G2, F, G1>
impl<T, U, G2, F, G1> UnsafeUnpin for FlatMapped<T, U, G2, F, G1>where
G1: UnsafeUnpin,
F: UnsafeUnpin,
impl<T, U, G2, F, G1> UnwindSafe for FlatMapped<T, U, G2, F, G1>where
G1: UnwindSafe,
F: 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