Struct feroxide::Molecule [] [src]

pub struct Molecule {
    pub compounds: Vec<MoleculeCompound>,
}

A molecule

Fields

The compounds it contains

Methods

impl Molecule
[src]

Convert a string representation of a molecule into one

Trait Implementations

impl Debug for Molecule
[src]

Formats the value using the given formatter.

impl Eq for Molecule
[src]

impl PartialEq for Molecule
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Molecule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Molecule
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Properties for Molecule
[src]

Get the symbol of the current item

Get the name of the current item

Get the mass of the current item

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

impl Element for Molecule
[src]

Get the charge of the current Element

Get the molecule associated with the current Element

impl Display for Molecule
[src]

Formats the value using the given formatter. Read more