pub trait ClosedAdd<Right = Self>: Add<Right, Output = Self> + AddAssign<Right> { }
Trait alias for Add
and AddAssign
with result of type Self
.
impl<T, Right> ClosedAdd<Right> for T where
T: Add<Right, Output = T> + AddAssign<Right>,
[src]
Loading content...