Trait ClosedAdd
alga::general
pub trait ClosedAdd<Right = Self>: Sized + Add<Right, Output = Self> + AddAssign<Right> { }
[Alias] Trait alias for Add and AddAsign with result of type Self.
Add
AddAsign
Self
impl<T, Right> ClosedAdd<Right> for T where T: Add<Right, Output = T> + AddAssign<Right>,