pub trait CheckedSub<RHS = Self> {
type Output;
// Required method
fn checked_sub(self, other: RHS) -> Option<Self::Output>;
}
Expand description
Subtracts two numbers, returning None
if the result is not representable.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.
This is a wrapper over the checked_sub
functions in the standard library, for
example this one.