/// Merge the contents of another scope into this scope. The scope keeps the
/// current node ID.
Merge the contents of another scope into this scope. The scope keeps the
current node ID.
Merge the contents of another scope into this scope . The scope keeps the current node ID .
pub fn merge(&mut self, other: Scope) {
        self.subscopes.extend(other.subscopes);
        for (k, v) in other.defs {
            self.defs.entry(k).or_insert_with(|| Vec::new()).extend(v);
        }
    }
pub fn merge ( & mut self , other : Scope ) { self . subscopes . extend ( other . subscopes ) ; for ( k , v ) in other . defs { self . defs . entry ( k ) . or_insert_with ( | | Vec :: new ( ) ) . extend ( v ) ; } }
Merge the contents of another scope into this scope.
Merge the contents of another scope into this scope .
&mut self
other
Scope