Function nom::number::streaming::recognize_float_parts [−][src]
pub fn recognize_float_parts<T, E: ParseError<T>>(
input: T
) -> IResult<T, (bool, T, T, i32), E> where
T: Slice<RangeFrom<usize>> + Slice<RangeTo<usize>>,
T: Clone + Offset,
T: InputIter + ParseTo<i32>,
<T as InputIter>::Item: AsChar,
T: InputTakeAtPosition + InputTake + InputLength,
<T as InputTakeAtPosition>::Item: AsChar,
T: for<'a> Compare<&'a [u8]>,
T: AsBytes,
Expand description
Recognizes a floating point number in text format and returns the integer, fraction and exponent parts of the input data
Streaming version: Will return Err(nom::Err::Incomplete(_))
if there is not enough data.