catlog::zero::rig

Trait CommMonoid

Source
pub trait CommMonoid: Monoid { }
Expand description

A commutative monoid, written multiplicatively.

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.

Implementations on Foreign Types§

Source§

impl CommMonoid for f32

Source§

impl CommMonoid for f64

Source§

impl CommMonoid for i32

Source§

impl CommMonoid for i64

Source§

impl CommMonoid for u32

Source§

impl CommMonoid for u64

Source§

impl CommMonoid for usize

Implementors§

Source§

impl<Var, Coef, Exp> CommMonoid for Polynomial<Var, Coef, Exp>
where Var: Clone + Ord, Coef: Clone + CommRig, Exp: Clone + Ord + AdditiveMonoid,

Source§

impl<Var, Exp> CommMonoid for Monomial<Var, Exp>
where Var: Ord, Exp: AdditiveMonoid,