Function cock_lib::bin_modules::standard_prompt::parse_to_int
source · pub fn parse_to_int(input: &str, default: i32) -> i32Expand description
This function parses a string to an integer.
pub fn parse_to_int(input: &str, default: i32) -> i32This function parses a string to an integer.