pub trait ClosedDiv<Right = Self>: Div<Right, Output = Self> + DivAssign<Right> { }
Trait alias for Div
and DivAssign
with result of type Self
.
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
Loading content...