macro_rules! impl_parse_str_from_int_infallible { ($to:ident, $inner:ident, $fn:ident) => { ... }; }
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