pub trait Ring:
Copy
+ PartialOrd
+ MinMax
+ AdditiveGroup
+ Mul<Self, Output = Self>
+ MulAssign
+ Signed
+ MulAdd<Self, Self, Output = Self>
+ MulAddAssign<Self, Self> {
// Provided methods
fn squared(self) -> Self { ... }
fn cubed(self) -> Self { ... }
}Expand description
Interface for a (partially ordered) ring as a combination of an additive group and a distributive multiplication operation
Provided Methods§
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.