Trait higher::rings::Semiring

source ·
pub trait Semiring {
    const ZERO: Self;
    const ONE: Self;

    fn add(self, other: Self) -> Self;
    fn mul(self, other: Self) -> Self;
}

Required Associated Constants§

Required Methods§

Implementations on Foreign Types§

Implementors§