Function novice_tools::io::read [] [src]

pub fn read<T: FromStr>(msg: &str, name: &str) -> T

Reads a line from user input and try to parse it as type T.