[−][src]Function abstutil::deserialize_btreemap
pub fn deserialize_btreemap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Ord, V: Deserialize<'de>>(
d: D
) -> Result<BTreeMap<K, V>, D::Error>
Deserializes a BTreeMap from a list of tuples. Necessary when the keys are structs; see https://github.com/serde-rs/json/issues/402.