pub trait MapMergeStrategy<K: Ord + Clone, V: AbstractDomain> {
// Required method
fn merge_map_with(map: &mut BTreeMap<K, V>, other: &BTreeMap<K, V>);
// Provided method
fn merge_map(
map_left: &BTreeMap<K, V>,
map_right: &BTreeMap<K, V>
) -> BTreeMap<K, V> { ... }
}Expand description
A MapMergeStrategy determines how the merge-method for a DomainMap works.
The possible strategies are:
Required Methods§
sourcefn merge_map_with(map: &mut BTreeMap<K, V>, other: &BTreeMap<K, V>)
fn merge_map_with(map: &mut BTreeMap<K, V>, other: &BTreeMap<K, V>)
Merges map with other by modifying map in-place.
Provided Methods§
Object Safety§
This trait is not object safe.