pub const fn parse_i64(s: &str) -> Result<i64, ParseIntError>
Expand description
Parses a i64
from a &str
.
This returns an Err
if the string would not successfully .parse()
into a i64
.
To parse a i64
from only part of a string, you can use Parser::parse_i64
.
For an example of how to use this function, you can look at
the one for i128
.