Trait differential_dataflow::difference::Abelian
source · pub trait Abelian: Monoid {
// Required method
fn negate(&mut self);
}
Expand description
A Monoid
with negation.
This trait extends the requirements of Semigroup
to include a negation operator.
Several differential dataflow operators require negation in order to retract prior outputs, but
not quite as many as you might imagine.
Required Methods§
Object Safety§
This trait is not object safe.