Function btree_map

Source
pub fn btree_map<P, K, V>(parser: P) -> MapParser<P, Collect<BTreeMap<K, V>>>
where P: Parser, P::Output: IntoIterator<Item = (K, V)>,
Expand description

Convert the output of parser from a Vec<(K, V)> or other collection of pairs into a BTreeMap.