1 2 3 4 5 6 7 8 9
use molecule::Molecule; lazy_static! { pub static ref WATER: Molecule = Molecule::from_string("H2O".to_owned()).unwrap(); pub static ref CO2: Molecule = Molecule::from_string("CO2".to_owned()).unwrap(); pub static ref AMMONIA: Molecule = Molecule::from_string("NH3".to_owned()).unwrap(); pub static ref SUGAR: Molecule = Molecule::from_string("C12H22O11".to_owned()).unwrap(); }