Function nom::character::complete::u16

source ·
pub fn u16<T, E: ParseError<T>>(input: T) -> IResult<T, u16, E>where
    T: InputIter + Slice<RangeFrom<usize>> + InputLength,
    <T as InputIter>::Item: AsChar,
Expand description

will parse a number in text form to a number

Complete version: can parse until the end of input.