nom::character::complete

Function usize

Source
pub fn usize<T, E: ParseError<T>>(input: T) -> IResult<T, usize, E>
where T: Input, <T as Input>::Item: AsChar,
Expand description

will parse a number in text form to a number

Complete version: can parse until the end of input.