Trait nom::sequence::Tuple[][src]

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

Helper trait for the tuple combinator.

This trait is implemented for tuples of parsers of up to 21 elements.

Required methods

Parses the input and returns a tuple of results of each parser.

Implementations on Foreign Types

Implementors