# chemistru-elements-macro ## Requirements This macro depends on the [`chemistru-elements`](https://github.com/Ross-Morgan/chemistru-elements) crate for the `Element` type. ## Function / Use Using the `load_elements` macro will create a constant of type `chemistru_elements::Element` for every element. ### Example: ```rust use chemistru_element::Element; use chemistru_element_macro::load_elements; mod elements { load_elements!(); } fn f() { let water = (Elements::HYDROGEN, Elements::OXYGEN, Elements::HYDROGEN); } ``` ## Attribution Periodic table data provided by Bowserinator ([github](https://github.com/Bowserinator/Periodic-Table-JSON))