Struct app::StringsCheck [] [src]

pub struct StringsCheck {
    pub fn_: Box<Fn(&[String], &str) -> Result<(), String>>,
}

Closures checks Arguments and returns message

&[String] is the Arguments, &str is current_cmd's name, mains cmd_name is "".

Fields

Methods

impl StringsCheck
[src]

Trait Implementations

impl Default for StringsCheck
[src]

Returns the "default value" for a type. Read more

impl Debug for StringsCheck
[src]

Formats the value using the given formatter.