Trait na::ClosedSub

source ·
pub trait ClosedSub<Right = Self>: Sized + Sub<Right, Output = Self> + SubAssign<Right> { }
Expand description

Trait alias for Sub and SubAssign with result of type Self.

Implementors§

source§

impl<T, Right> ClosedSub<Right> for Twhere T: Sub<Right, Output = T> + SubAssign<Right>,