pub trait One<T> {
// Required method
fn one(&self) -> T;
}
Expand description
Trait to define a one in a semiring.
Required Methods§
Implementors§
impl One<U32WithInfinity> for Cost
Implementation of Identity for multiplication.
impl One<bool> for BinaryTrust
Implementation of Identity for multiplication.
impl One<f64> for ConfidenceScore
Implementation of Identity for multiplication.
impl One<f64> for FuzzyLogic
Implementation of Identity for multiplication.
impl One<u32> for Multiplicity
Implementation of Identity for multiplication.