pub trait AdditiveMonoid:
Sized
+ PartialEq
+ Add<Self, Output = Self>
+ AddAssign
+ Zero { }
Expand description
Set with identity represented by zero
and (associative) binary operation
defined by +
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.