mz_repr::strconv

Function parse_int32

Source
pub fn parse_int32(s: &str) -> Result<i32, ParseError>
Expand description

Parses an i32 from s.

Valid values are whatever the std::str::FromStr implementation on i32 accepts, plus leading and trailing whitespace.