pub trait UnitaryRing: AbelianGroup + Monoid {
    fn int(&self, elem: isize) -> Self::Elem { ... }
}
Expand description

A ring with an identity element (not necessarily commutative). Typical examples are the rings of rectangular matrices, integers and polynomials.

Provided Methods

Returns the integer multiple of the one element in the ring.

Implementors