Skip to main content

extend_keymap

Function extend_keymap 

Source
pub fn extend_keymap(keymap: &mut PublicKeyMap, other: PublicKeyMap)
Expand description

This function adds the content of the other public keymap into the first keymap. Since a keymap is a nested BTreeMap, one can’t simply call keymap.extend(other) unfortunately.