catlog::zero::rig

Trait Monoid

Source
pub trait Monoid: Mul<Output = Self> + One { }
Expand description

A 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 Monoid for f32

Source§

impl Monoid for f64

Source§

impl Monoid for i32

Source§

impl Monoid for i64

Source§

impl Monoid for u32

Source§

impl Monoid for u64

Source§

impl Monoid for usize

Implementors§

Source§

impl<Var, Coef, Exp> Monoid for Polynomial<Var, Coef, Exp>
where Var: Clone + Ord, Coef: Clone + Rig, Exp: Clone + Ord + AdditiveMonoid,

Source§

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