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
fn_: Box<Fn(&[String], &str) -> Result<(), String>>
Methods
impl StringsCheck[src]
Trait Implementations
impl Default for StringsCheck[src]
fn default() -> StringsCheck
Returns the "default value" for a type. Read more