pub struct FnFilMap<I, O, F: Fn(I) -> Option<O> + Copy + Send>(/* private fields */);Expand description
Filter-map adapter backed by a closure.
Implementations§
Trait Implementations§
impl<I, O, F: Fn(I) -> Option<O> + Copy + Send> Copy for FnFilMap<I, O, F>
impl<I, O, F: Fn(I) -> Option<O> + Copy + Send> Send for FnFilMap<I, O, F>
Auto Trait Implementations§
impl<I, O, F> Freeze for FnFilMap<I, O, F>
impl<I, O, F> RefUnwindSafe for FnFilMap<I, O, F>
impl<I, O, F> Sync for FnFilMap<I, O, F>
impl<I, O, F> Unpin for FnFilMap<I, O, F>
impl<I, O, F> UnsafeUnpin for FnFilMap<I, O, F>
impl<I, O, F> UnwindSafe for FnFilMap<I, O, F>
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