pub trait Zero<T> {
// Required method
fn zero(&self) -> T;
}
Expand description
Trait to check if semiring contains a zero.
Required Methods§
Implementors§
impl Zero<U32WithInfinity> for Cost
Implementation of Identity for addition.
impl Zero<bool> for BinaryTrust
Implementation of Identity for addition.
impl Zero<f64> for ConfidenceScore
Implementation of Identity for addition.
impl Zero<f64> for FuzzyLogic
Implementation of Identity for addition.
impl Zero<u32> for Multiplicity
Implementation of Identity for addition.