Trait lattices::Multiplication

source ·
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§

source

fn mul(&mut self, other: Self)

Multiply-assign other into self.

Provided Methods§

source

fn mul_owned(self, other: Self) -> Self
where Self: Sized,

Multiply this and delta together, returning the new value.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Multiplication<BinaryTrust> for BinaryTrust

Implementation of the multiplication trait for the Binary Trust semiring.

source§

impl Multiplication<ConfidenceScore> for ConfidenceScore

Implementation of the multiplication trait for ConfidenceScore semiring.

source§

impl Multiplication<Cost> for Cost

Implementation of the multiplication trait for Cost semiring.

source§

impl Multiplication<FuzzyLogic> for FuzzyLogic

Implementation of the multiplication trait for FuzzyLogic semiring.

source§

impl Multiplication<Multiplicity> for Multiplicity

Implementation of the multiplication trait for Multiplicity semiring.