Ring

Trait Ring 

Source
pub trait Ring:
    AdditiveGroup
    + MultiplicativeMonoid
    + MulAdd<Self, Self, Output = Self>
    + MulAddAssign<Self, Self> { }
Expand description

Interface for a ring as a combination of an additive group and a distributive multiplication operation

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.

Implementors§

Source§

impl<T> Ring for T
where T: AdditiveGroup + MultiplicativeMonoid + MulAdd<Self, Self, Output = Self> + MulAddAssign<Self, Self>,