Function argparse::argparser::hashmap_parser [] [src]

pub fn hashmap_parser<K, V>(s: &str) -> Option<HashMap<K, V>> where K: FromStr + Hash + Eq, V: FromStr

Function that parses Dict arguments into HashMaps. Provided for user convenience and use as an implementor of ArgGetter.

Panics

Panics if improper or no separator is found (expects key:value key2:value2...)