| 1 | use superrust-analyzer cargo mendeleev 0.8.1 properties/::Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#; |
| 2 | |
| 3 | impl Grouprust-analyzer cargo mendeleev 0.8.1 group/Group# { |
| 4 | /// Returns the group's symbol in the CAS system |
| 5 | /// |
| 6 | /// ``` |
| 7 | /// use mendeleev::Group; |
| 8 | /// assert_eq!(Group::IA.group_symbol(), "IA"); |
| 9 | /// assert_eq!(Group::VIIIA.group_symbol(), "VIIIA"); |
| 10 | /// assert_eq!(Group::VIIIB8.group_symbol(), "VIIIB"); |
| 11 | /// ``` |
| 12 | pub const fn group_symbolrust-analyzer cargo mendeleev 0.8.1 properties/group_symbol/impl#[Group]group_symbol().(&self) -> &'static str { |
| 13 | match self { |
| 14 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IArust-analyzer cargo mendeleev 0.8.1 group/Group#IA# => "IA", |
| 15 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IIArust-analyzer cargo mendeleev 0.8.1 group/Group#IIA# => "IIA", |
| 16 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IIIBrust-analyzer cargo mendeleev 0.8.1 group/Group#IIIB# => "IIIB", |
| 17 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IVBrust-analyzer cargo mendeleev 0.8.1 group/Group#IVB# => "IVB", |
| 18 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VBrust-analyzer cargo mendeleev 0.8.1 group/Group#VB# => "VB", |
| 19 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIBrust-analyzer cargo mendeleev 0.8.1 group/Group#VIB# => "VIB", |
| 20 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIIBrust-analyzer cargo mendeleev 0.8.1 group/Group#VIIB# => "VIIB", |
| 21 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIIIB8rust-analyzer cargo mendeleev 0.8.1 group/Group#VIIIB8# => "VIIIB", |
| 22 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIIIB9rust-analyzer cargo mendeleev 0.8.1 group/Group#VIIIB9# => "VIIIB", |
| 23 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIIIB10rust-analyzer cargo mendeleev 0.8.1 group/Group#VIIIB10# => "VIIIB", |
| 24 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IBrust-analyzer cargo mendeleev 0.8.1 group/Group#IB# => "IB", |
| 25 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IIBrust-analyzer cargo mendeleev 0.8.1 group/Group#IIB# => "IIB", |
| 26 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IIIArust-analyzer cargo mendeleev 0.8.1 group/Group#IIIA# => "IIIA", |
| 27 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::IVArust-analyzer cargo mendeleev 0.8.1 group/Group#IVA# => "IVA", |
| 28 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VArust-analyzer cargo mendeleev 0.8.1 group/Group#VA# => "VA", |
| 29 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIArust-analyzer cargo mendeleev 0.8.1 group/Group#VIA# => "VIA", |
| 30 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIIArust-analyzer cargo mendeleev 0.8.1 group/Group#VIIA# => "VIIA", |
| 31 | Grouprust-analyzer cargo mendeleev 0.8.1 group/Group#::VIIIArust-analyzer cargo mendeleev 0.8.1 group/Group#VIIIA# => "VIIIA", |
| 32 | } |
| 33 | } |
| 34 | } |