pub struct Term {
pub polarity: Polarity,
pub species: Vec<Specie>,
pub vars: Vec<Var>,
}
Expand description
A product of rate and species that is added or subtracted. THere should just be one rate, but since we’re parsing and there could be noise, this accommodates possibly reading several names of things that should be combined into a single rate.
Fields§
§polarity: Polarity
§species: Vec<Specie>
§vars: Vec<Var>
Trait Implementations§
source§impl PartialEq for Term
impl PartialEq for Term
impl Eq for Term
impl StructuralPartialEq for Term
Auto Trait Implementations§
impl RefUnwindSafe for Term
impl Send for Term
impl Sync for Term
impl Unpin for Term
impl UnwindSafe for Term
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.