pub type Dict = Map<String, Value>;
Expand description
An alias to a Map from String to Values.
struct Dict { /* private fields */ }
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
Creates an empty BTreeMap.
Converts a [(K, V); N] into a BTreeMap<(K, V)>.
use std::collections::BTreeMap;
let map1 = BTreeMap::from([(1, 2), (3, 4)]);
let map2: BTreeMap<_, _> = [(1, 2), (3, 4)].into();
assert_eq!(map1, map2);