pub trait Alt<I, O, E> {
// Required method
fn choice(&mut self, input: &mut I) -> PResult<O, E>;
}
Expand description
Helper trait for the alt()
combinator.
This trait is implemented for tuples of up to 21 elements
pub trait Alt<I, O, E> {
// Required method
fn choice(&mut self, input: &mut I) -> PResult<O, E>;
}
Helper trait for the alt()
combinator.
This trait is implemented for tuples of up to 21 elements