| 1 |
use mendeleev::Element; |
| 2 |
|
| 3 |
/// Prints the electronic configuration for each element in the standard notation. |
| 4 |
fn main() { |
| 5 |
for element in Element::list() { |
| 6 |
println!( |
| 7 |
"{}:\t{}", |
| 8 |
element.symbol(), |
| 9 |
element.electronic_configuration() |
| 10 |
); |
| 11 |
} |
| 12 |
} |