Trait feroxide::Properties [] [src]

pub trait Properties: Debug + Eq + PartialEq + Clone {
    fn symbol(&self) -> String;
    fn name(&self) -> String;
    fn mass(&self) -> AtomMass;

    fn stringify(&self) -> String { ... }
}

Required Methods

Get the symbol of the current item

Get the name of the current item

Get the mass of the current item

Provided Methods

Stringify the current item (default: self.symbol())

Implementors