pub trait Layer<In, P>where
P: ContextOperator<In>,{
type Operator: ContextOperator<In, Out = Self::Out>;
type Out;
// Required method
fn layer(&self, operator: P) -> Self::Operator;
}
Expand description
Layer.
Convert an ContextOperator
to another ContextOperator
Required Associated Types§
sourcetype Operator: ContextOperator<In, Out = Self::Out>
type Operator: ContextOperator<In, Out = Self::Out>
The output operator.