rustms::chemistry::element

Function atomic_weights_mono_isotopic

Source
pub fn atomic_weights_mono_isotopic() -> HashMap<&'static str, f64>
Expand description

Atomic Weights

§Arguments

None

§Returns

  • HashMap<&'static str, f64> - a map of atomic symbols to their monoisotopic weights

§Example

use rustms::chemistry::element::atomic_weights_mono_isotopic;

let atomic_weights = atomic_weights_mono_isotopic();
assert_eq!(atomic_weights.get("H"), Some(&1.00782503223));