Function extract_numeric_arg

Source
pub fn extract_numeric_arg<T: FromStr>(
    matches: &ArgMatches<'_>,
    arg_name: &str,
) -> Result<T, String>
where <T as FromStr>::Err: Display,