Trait ClosedAdd
rin::math::scalar
pub trait ClosedAdd<Right = Self>: Add<Right, Output = Self> + AddAssign<Right> { }
Trait alias for Add and AddAssign with result of type Self.
Add
AddAssign
Self
impl<T, Right> ClosedAdd<Right> for T where T: Add<Right, Output = T> + AddAssign<Right>,