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]

[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]

[src]

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

[src]

This method tests for !=.

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[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

[src]

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

[src]

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

[src]

Get the ElemReaction version

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