Function extra::fileinput::input

pub fn input(f: &fn(&str) -> bool) -> bool

Iterate directly over the command line arguments (no arguments implies reading from stdin).

Fails when attempting to read from a file that can't be opened.