Struct feroxide::Molecule [] [src]

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

A molecule

Fields

The compounds it contains

Methods

impl Molecule
[src]

[src]

Convert a string representation of a molecule into one

Trait Implementations

impl Debug for Molecule
[src]

[src]

Formats the value using the given formatter.

impl Eq for Molecule
[src]

impl PartialEq for Molecule
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for Molecule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for Molecule
[src]

[src]

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

1.3.0
[src]

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

impl Properties for Molecule
[src]

[src]

Get the symbol of the current item

[src]

Get the name of the current item

[src]

Get the mass of the current item

[src]

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

impl Element for Molecule
[src]

[src]

Get the charge of the current Element

[src]

Get the molecule associated with the current Element

impl Display for Molecule
[src]

[src]

Formats the value using the given formatter. Read more