Struct feroxide::ReactionSide [] [src]

pub struct ReactionSide<E: Element> {
    pub compounds: Vec<ReactionCompound<E>>,
}

A side of a reaction

Fields

The compounds of this side

Methods

impl<E: Element> ReactionSide<E>
[src]

Convert a string representation of a reactionside into one

Convert a string representation of a reactionside into one

Calculate the total charge of this reaction side

Calculate the energy this side has

Calculate the total amount of atoms this side contains

Trait Implementations

impl<E: Debug + Element> Debug for ReactionSide<E>
[src]

Formats the value using the given formatter.

impl<E: Eq + Element> Eq for ReactionSide<E>
[src]

impl<E: PartialEq + Element> PartialEq for ReactionSide<E>
[src]

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

This method tests for !=.

impl<E: Clone + Element> Clone for ReactionSide<E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E: Hash + Element> Hash for ReactionSide<E>
[src]

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

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

impl<E: Element> Add for ReactionSide<E>
[src]

The resulting type after applying the + operator

Adding two ReactionSide's adds their compounds

impl<E: Element> Mul<u16> for ReactionSide<E>
[src]

The resulting type after applying the * operator

Multiplying a ReactionSide with a number multiplies the amount of all compounds of that side

impl<E: Element> Properties for ReactionSide<E>
[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<E: Element> Display for ReactionSide<E>
[src]

Formats the value using the given formatter. Read more