Searched refs:map_serializer (Results 1 – 4 of 4) sorted by relevance
17 let mut map_serializer = serializer.serialize_map(Some(self.len()))?; in serialize() localVariable19 map_serializer.serialize_key(&key)?; in serialize()20 map_serializer.serialize_value(value)?; in serialize()22 map_serializer.end() in serialize()
43 let mut map_serializer = serializer.serialize_map(Some(m.len()))?; in serialize() localVariable45 map_serializer.serialize_key(&&k)?; in serialize()46 map_serializer.serialize_value(&&v)?; in serialize()48 map_serializer.end() in serialize()
26 let mut map_serializer = serializer.serialize_map(Some(self.len()))?; in serialize() localVariable28 map_serializer.serialize_key(k)?; in serialize()29 map_serializer.serialize_value(v)?; in serialize()31 map_serializer.end() in serialize()
25 let mut map_serializer = serializer.serialize_map(Some(self.len()))?; in serialize() localVariable27 map_serializer.serialize_key(k)?; in serialize()28 map_serializer.serialize_value(v)?; in serialize()30 map_serializer.end() in serialize()