Trait indicator::operator::OperatorExt[][src]

pub trait OperatorExt<I>: Operator<I> {
    fn then<P2>(self, other: P2) -> Then<I, Self, P2>
    where
        Self: Sized,
        P2: Operator<Self::Output>
, { ... }
fn facet<P2>(self, other: P2) -> Facet<I, Self, P2>
    where
        Self: Sized,
        P2: Operator<I>
, { ... }
fn map<O, F>(self, f: F) -> Then<I, Self, Map<F>>
    where
        Self: Sized,
        F: FnMut(Self::Output) -> O
, { ... } }
Expand description

Operator extension trait.

Provided methods

Combine with another operator that uses Self::Output as input type.

The result operator will perform the other operator after performing the self.

Combine with another operator with the same input type.

The result operator will perform two operators simultaneously.

Map the output after performing the operator.

Implementors