Function arg_combinators::opt_default_by[][src]

pub fn opt_default_by<T, E, F>(
    short: &str,
    long: &str,
    doc: &str,
    hint: &str,
    default: T,
    parse: F
) -> impl Arg<Item = T> where
    E: Clone + Debug + Display + Eq,
    T: Clone + FromStr + Display,
    F: Fn(String) -> Result<T, E>,