New set for positive rs
This commit is contained in:
@ -171,16 +171,6 @@ impl BasicReaction<Set> for Reaction {
|
||||
}
|
||||
}
|
||||
|
||||
impl Reaction {
|
||||
pub fn from(reactants: Set, inhibitors: Set, products: Set) -> Self {
|
||||
Reaction {
|
||||
reactants,
|
||||
inhibitors,
|
||||
products,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl PrintableWithTranslator for Reaction {
|
||||
fn print(&self, f: &mut std::fmt::Formatter, translator: &Translator)
|
||||
-> std::fmt::Result {
|
||||
@ -193,3 +183,13 @@ impl PrintableWithTranslator for Reaction {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
impl Reaction {
|
||||
pub fn from(reactants: Set, inhibitors: Set, products: Set) -> Self {
|
||||
Reaction {
|
||||
reactants,
|
||||
inhibitors,
|
||||
products,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user