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