Function binn_ir::map_insert

source ·
pub fn map_insert<K, V>(map: &mut Map, key: K, value: V) -> Option<Value>where
    K: Into<MapKey>,
    V: Into<Value>,
Expand description

Inserts new item into a map

Returns previous value (if it existed).