pub fn substruct_match( mol: &Molecule, pattern: &SmartsPattern, ) -> Vec<Vec<usize>>
Find all substructure matches of pattern in mol. Returns a vec of mappings: each mapping is pattern_atom_idx → molecule_atom_idx.
pattern
mol