Expand description
Graph-theoretic representation of a molecule.
Structs§
- Atom
- The nodes of a
Moleculegraph. - Molecule
- A simple, loopless graph with
Atoms as nodes andBonds as edges. - Parse
Bond Error - Thrown by
Bond::try_fromwhen given anything other than a 1, 2, or 3. - Parse
Element Error - Thrown by
Element::from_strif the string is not a valid chemical element.