pub trait Pipeline<A, B, C> {
// Required methods
fn first(&self, a: A) -> B;
fn second(&self, b: B) -> C;
// Provided method
fn between(&self) { ... }
}
Expand description
Implement this trait for calling ParserIterator::pipeline
.