fn destroy_atom_at(&mut self, loc: Pos) {
        let atom_key = self.locs.remove(&loc).expect("Destroying nonatom!");
        let atom = self.atom_map.remove(atom_key)
            .expect("Inconsistent atoms (destroy)!");
        if atom.pos != loc {
            panic!("Inconsistent atoms (destroy loc)!");
        }
    }
//Note: only use on non-grabbed atoms!
only use on non-grabbed atoms!
only use on non - grabbed atoms!
fn destroy_atom_at(&mut self, loc: Pos) {
        let atom_key = self.locs.remove(&loc).expect("Destroying nonatom!");
        let atom = self.atom_map.remove(atom_key)
            .expect("Inconsistent atoms (destroy)!");
        if atom.pos != loc {
            panic!("Inconsistent atoms (destroy loc)!");
        }
    }
fn destroy_atom_at ( & mut self , loc : Pos ) { let atom_key = self . locs . remove ( & loc ) . expect ( " " ) ; let atom = self . atom_map . remove ( atom_key ) . expect ( " " ) ; if atom . pos != loc { panic ! ( " " ) ; } }
Note: only use on non-grabbed atoms!
Note : only use on non - grabbed atoms!
&mut self
loc
Pos
&mut self
loc
Pos