pub trait Jig<In> {
type Out;
// Required method
fn run(&self, input: In) -> Self::Out;
}Expand description
One step in a jigs pipeline. Any Fn(In) -> Out automatically implements
this trait, so plain functions, closures, and #[jig]-annotated functions
can all be chained with .then(...).