pub fn label(encoding: usize) -> String {
        let (element, charge) = Self::decode(encoding);
        format!(
            "{}{}",
            get_element_label_from_element_id(&(element as usize)),
            if charge < 0 {
                "-"
            } else if charge > 0 {
                "+"
            } else {
                ""
            }
        )
    }
/// Outputs a label given the atom labeling.
Outputs a label given the atom labeling.
Outputs a label given the atom labeling .
pub fn label(encoding: usize) -> String {
        let (element, charge) = Self::decode(encoding);
        format!(
            "{}{}",
            get_element_label_from_element_id(&(element as usize)),
            if charge < 0 {
                "-"
            } else if charge > 0 {
                "+"
            } else {
                ""
            }
        )
    }
pub fn label ( encoding : usize ) -> String { let ( element , charge ) = Self :: decode ( encoding ) ; format ! ( " " get_element_label_from_element_id ( ( element as usize ) ) if charge 0 { " " } else if charge 0 { " " } else { " " } ) }
Outputs a label given the atom labeling.
Outputs a label given the atom labeling .
encoding
usize