Skip to main content

ClosedAdd

Trait ClosedAdd 

Source
pub trait ClosedAdd<Rhs = Self>: Add<Rhs, Output = Self> + AddAssign<Rhs> { }

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T, Rhs> ClosedAdd<Rhs> for T
where T: Add<Rhs, Output = T> + AddAssign<Rhs>,