pub trait ClosedAdd<Right = Self>:
Sized
+ Add<Right, Output = Self>
+ AddAssign<Right> { }
Expand description
Trait alias for Add
and AddAssign
with result of type Self
.
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.