[][src]Macro zoozle::scan

macro_rules! scan {
    ($($e:expr),*) => { ... };
    ($($e:ident),*) => { ... };
}

Scan macro like C++ cin. Ignores whitespace.

Examples

let x:i32; let y=String::new(); scan!(x,y);

Panics

If failed to translate into desired type, this macro calls panic!() macro.