Struct feroxide::RedoxReaction [] [src]

pub struct RedoxReaction<E: Element> {
    pub reductor: ElemReaction<E>,
    pub oxidator: ElemReaction<E>,
}

A Redox reaction

Fields

The reductor

The oxidator

Trait Implementations

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

Formats the value using the given formatter.

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

impl<E: PartialEq + Element> PartialEq for RedoxReaction<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 RedoxReaction<E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E: Element> Reaction<E> for RedoxReaction<E>
[src]

Balance both sides of the equation to make sure it's valid Returns true if it managed to equalise it, false otherwise Read more

Check if the reaction is valid by comparing the amount of total atoms on both sides, and by checking if the total charge on both sides is equal Read more

Calculate the cost of this reaction This can be negative in case of an exothermic reaction Read more

Get the ElemReaction version

impl<E: Element> Properties for RedoxReaction<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())