:dep chemcore="0.3.0"
use chemcore::molecule::{ DefaultMolecule, Error, Atom, BondOrder, Element };
let molecule: Result<DefaultMolecule, Error> = DefaultMolecule::from_adjacency(vec![
(Atom::new(Element::H, 0, 0, None, None), vec![
(1, BondOrder::Single, None)
]),
(Atom::new(Element::H, 0, 0, None, None), vec![
(0, BondOrder::Single, None),
(2, BondOrder::Single, None)
]),
(Atom::new(Element::H, 0, 0, None, None), vec![
(1, BondOrder::Single, None)
])
]);
molecule