This is meant to imitate std::cin
from iostream
in C++, keeping the codebase as simple as possible.
Here is a simple example.
let handle = std::io::stdin();
let x: i32 = input(&handle).unwrap();
println!("x: {}", x);
let y: String = input(&handle).unwrap();
println!("y: {}", y);