Skip to main content

input

Macro input 

Source
macro_rules! input {
    (inner Line) => { ... };
    (inner $t:ty) => { ... };
    ($($t:tt),*) => { ... };
}
Expand description

Reads input from standard input, split by ascii space and newline character

ยงExample

use simput::input;
let (line_of_string, string_piece, integer, decimal) = input!(Line, String, i32, f32);