Skip to main content

ClosedSub

Trait ClosedSub 

Source
pub trait ClosedSub<Rhs = Self>: Sub<Rhs, Output = Self> + SubAssign<Rhs> { }

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, Rhs> ClosedSub<Rhs> for T
where T: Sub<Rhs, Output = T> + SubAssign<Rhs>,