pub fn sub_maps<Key: Hash + Eq, Value: HasZero + Sub<Output = Value> + Clone + Eq>(
    lhs: OrderedHashMap<Key, Value>,
    rhs: OrderedHashMap<Key, Value>
) -> OrderedHashMap<Key, Value>
Expand description

Returns a map which contains the difference of the values from the given two maps, for each key.

If the key is missing from one of them, it is treated as zero.