Trait nom::branch::Permutation

source ·
pub trait Permutation<I, O, E> {
    fn permutation(&mut self, input: I) -> IResult<I, O, E>;
}
Expand description

Helper trait for the permutation() combinator.

This trait is implemented for tuples of up to 21 elements

Required Methods§

Tries to apply all parsers in the tuple in various orders until all of them succeed

Implementations on Foreign Types§

Implementors§