Trait UpdateReactions

pub trait UpdateReactions<Ri> {
    // Required methods
    fn set_conc(&mut self, conc: Ri);
    fn get_conc(&self) -> Ri;
    fn incr_conc(&mut self, incr: Ri);
}
Available on crate feature chili only.
Expand description

Interface to store intermediate information about cellular reactions.

Required Methods§

fn set_conc(&mut self, conc: Ri)

Set the value of intracellular concentrations

fn get_conc(&self) -> Ri

Obtain the current value of intracellular concentrations

fn incr_conc(&mut self, incr: Ri)

Add concentrations to the current value

Implementors§

§

impl<R> UpdateReactions<R> for AuxStorageReactions<R>
where R: Clone + Add<Output = R>,