pub trait CheckedAdd<Rhs = Self> {
type Output;
// Required method
fn checked_add(self, other: Rhs) -> Option<Self::Output>
where Self: Sized;
}Required Associated Types§
Required Methods§
fn checked_add(self, other: Rhs) -> Option<Self::Output>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".