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