1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//! Enhanced stereochemistry group data model.
//!
//! Corresponds to the ChemDraw V3000 `M V30 STEREOGROUP` / `MDLV30/STE*`
//! collection entries, which distinguish three types of stereo specification:
//!
//! - [`StereoGroupKind::Absolute`] — the absolute configuration is known.
//! - [`StereoGroupKind::Or`] — the compound is one of two configurations (or
//! a mixture), but it is not known which; all atoms in the same Or-group
//! share the same ambiguity.
//! - [`StereoGroupKind::And`] — the compound is a mixture of configurations;
//! each atom may independently be R or S.
use crateAtomIdx;
// ---------------------------------------------------------------------------
// Types
// ---------------------------------------------------------------------------
/// Kind of an enhanced stereo group.
/// A named collection of stereocenters with a shared ambiguity classification.
///
/// Stored in [`Molecule::stereo_groups`]. The `atom_indices` list the
/// 0-based internal `AtomIdx` values of the stereocenters that belong to
/// this group.