pub trait SubChecked<Rhs = Self, Output = Option<Self>> {
// Required method
fn sub_checked(self, rhs: impl Borrow<Rhs>) -> Output
where Self: Sized;
}Required Methods§
fn sub_checked(self, rhs: impl Borrow<Rhs>) -> Outputwhere
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".