pub trait Multiplication<Other> {
// Required method
fn mul(&mut self, other: Self);
// Provided method
fn mul_owned(self, other: Self) -> Self
where Self: Sized { ... }
}
Expand description
Trait for Semiring Multiplication.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl Multiplication<BinaryTrust> for BinaryTrust
Implementation of the multiplication trait for the Binary Trust semiring.
impl Multiplication<ConfidenceScore> for ConfidenceScore
Implementation of the multiplication trait for ConfidenceScore semiring.
impl Multiplication<Cost> for Cost
Implementation of the multiplication trait for Cost semiring.
impl Multiplication<FuzzyLogic> for FuzzyLogic
Implementation of the multiplication trait for FuzzyLogic semiring.
impl Multiplication<Multiplicity> for Multiplicity
Implementation of the multiplication trait for Multiplicity semiring.