Trait read_input::ReadInput

source ·
pub trait ReadInputwhere
    Self: Sized,
{ fn read_input<F: Fn(&Self) -> bool>(
        msg: Option<&str>,
        err: &str,
        test: F
    ) -> Self; fn valid_input<F: Fn(&Self) -> bool>(test: F) -> Self { ... } fn simple_input() -> Self { ... } }

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Implementors§