/// Read all values in the map, and transform them into a new collection.
Read all values in the map, and transform them into a new collection.
Read all values in the map and transform them into a new collection .
pub fn map_into<Map, Collector, Target>(&self, mut f: Map) -> Collector
    where
        Map: FnMut(&K, &Values<V, S>) -> Target,
        Collector: FromIterator<Target>,
    {
        self.enter()
            .iter()
            .flatten()
            .map(|(k, v)| f(k, v))
            .collect()
    }
pub fn map_into < Map , Collector , Target > ( & self , mut f : Map ) -> Collector where Map : FnMut ( & K , & Values < V , S > ) -> Target , Collector : FromIterator < Target > , { self . enter ( ) . iter ( ) . flatten ( ) . map ( | ( k , v ) | f ( k , v ) ) . collect ( ) }
Read all values in the map, and transform them into a new collection.
Read all values in the map and transform them into a new collection .
&self
f
Map