Function nom_grapheme_clusters::parse::digits_u16
source · pub fn digits_u16<T, E>(base: u32) -> impl FnMut(T) -> IResult<T, u16, E>where
T: InputTakeAtPosition<Item = LocatedSegment> + AsRef<str> + Clone,
E: ParseError<T>,
Expand description
Parses an unsigned 16-bit number. Consumes all available digits, but might return an error if too large.