pub trait Addition<Other> {
// Required method
fn add(&mut self, other: Self);
// Provided method
fn add_owned(self, other: Self) -> Self
where Self: Sized { ... }
}
Expand description
Trait for Semiring Addition.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.
Implementors§
impl Addition<BinaryTrust> for BinaryTrust
Implementation of the addition trait for the Binary Trust semiring.
impl Addition<ConfidenceScore> for ConfidenceScore
Implementation of the addition trait for ConfidenceScore semiring.
impl Addition<Cost> for Cost
Implementation of the addition trait for Cost semiring.
impl Addition<FuzzyLogic> for FuzzyLogic
Implementation of the addition trait for FuzzyLogic semiring.
impl Addition<Multiplicity> for Multiplicity
Implementation of the addition trait for Multiplicity semiring.