[][src]Macro simput::input

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

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);