macro_rules! impl_parse_str_from_int_infallible { ($to:ident, $inner:ident, $fn:ident) => { ... }; }
Available on crate feature
alloc
only.Expand description
Implements FromStr
and TryFrom<{&str, String, Box<str>}> for $to
using parse::int
, mapping
the output using infallible conversion function fn
.
The Error
type is ParseIntError