pub trait Alt<I, O, E> {
    fn choice(&mut self, input: I) -> IResult<I, O, E>;
}
Expand description

Helper trait for the alt() combinator.

This trait is implemented for tuples of up to 21 elements

Required methods

Tests each parser in the tuple and returns the result of the first one that succeeds

Implementations on Foreign Types

Implementors