Function read_input::valid_input

source ·
pub fn valid_input<T>(test: impl Fn(&T) -> bool + 'static) -> Twhere
    T: FromStr,
Expand description

Shortcut function. This is documented in the readme