Function nom_grapheme_clusters::parse::digits_i32
source · pub fn digits_i32<T, E>(base: u32) -> impl FnMut(T) -> IResult<T, i32, E>where
T: InputTakeAtPosition<Item = LocatedSegment> + InputTake + InputLength + InputIter<Item = LocatedSegment> + AsRef<str> + Clone + Offset + Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>,
E: ParseError<T>,
Expand description
Parses a signed 32-bit number. Consumes all available digits, but might return an error if too large.