[][src]Macro nom::parse_to

macro_rules! parse_to {
    ($i:expr, $t:ty ) => { ... };
}

parse_to!(O) => I -> IResult<I, O> uses the parse method from std::str::FromStr to convert the current input to the specified type

this will completely consume the input