pub struct Map<F> { /* private fields */ }
Expand description
Map
operator.
Trait Implementations
impl<F: Copy> Copy for Map<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for Map<F> where
F: RefUnwindSafe,
impl<F> Send for Map<F> where
F: Send,
impl<F> Sync for Map<F> where
F: Sync,
impl<F> Unpin for Map<F> where
F: Unpin,
impl<F> UnwindSafe for Map<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<I, T> OperatorExt<I> for T where
T: Operator<I>,
impl<I, T> OperatorExt<I> for T where
T: Operator<I>,
sourcefn then<P2>(self, other: P2) -> Then<I, Self, P2> where
Self: Sized,
P2: Operator<Self::Output>,
fn then<P2>(self, other: P2) -> Then<I, Self, P2> where
Self: Sized,
P2: Operator<Self::Output>,
Combine with another operator that uses Self::Output
as input type. Read more
sourcefn facet<P2>(self, other: P2) -> Facet<I, Self, P2> where
Self: Sized,
P2: Operator<I>,
fn facet<P2>(self, other: P2) -> Facet<I, Self, P2> where
Self: Sized,
P2: Operator<I>,
Combine with another operator with the same input type. Read more
sourcefn map<O, F>(self, f: F) -> Then<I, Self, Map<F>> where
Self: Sized,
F: FnMut(Self::Output) -> O,
fn map<O, F>(self, f: F) -> Then<I, Self, Map<F>> where
Self: Sized,
F: FnMut(Self::Output) -> O,
Map the output after performing the operator.
sourcefn boxed<'a>(self) -> BoxOperator<'a, I, Self::Output> where
Self: Sized + Send + 'a,
fn boxed<'a>(self) -> BoxOperator<'a, I, Self::Output> where
Self: Sized + Send + 'a,
Convert into a BoxOperator
.
sourcefn boxed_local<'a>(self) -> LocalBoxOperator<'a, I, Self::Output> where
Self: Sized + 'a,
fn boxed_local<'a>(self) -> LocalBoxOperator<'a, I, Self::Output> where
Self: Sized + 'a,
Convert into a LocalBoxOperator
.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more