Trait ClosedSub
na
pub trait ClosedSub<Right = Self>: Sub<Right, Output = Self> + SubAssign<Right> { }
Trait alias for Sub and SubAssign with result of type Self.
Sub
SubAssign
Self
impl<T, Right> ClosedSub<Right> for T where T: Sub<Right, Output = T> + SubAssign<Right>,