cellular_raza_core::backend::chili

Trait UpdateReactions

Source
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);
}
Expand description

Interface to store intermediate information about cellular reactions.

Required Methods§

Source

fn set_conc(&mut self, conc: Ri)

Set the value of intracellular concentrations

Source

fn get_conc(&self) -> Ri

Obtain the current value of intracellular concentrations

Source

fn incr_conc(&mut self, incr: Ri)

Add concentrations to the current value

Implementors§

Source§

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