pub trait Group: PartialEq + Neg<Output = Self> {
// Required methods
fn identity() -> Self;
fn operation(a: Self, b: Self) -> Self;
}
Expand description
Set with identity, inverses, and (associative) binary operation
Required 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.