Function fill
fn fill<'a, I, E, F>(parser: F, buf: &'a mut [<F as Parser<I>>::Output]) -> impl Parser<I, Output = (), Error = E> + 'a
where
I: Clone,
F: Parser<I, Error = E> + 'a,
E: ParseError<I>
Runs the embedded parser repeatedly, filling the given slice with results.
This parser fails if the input runs out before the given slice is full.
Arguments
fThe parser to apply.bufThe slice to fill
# use ;
use fill;
use tag;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;