Trait CaddUnsigned
Source pub trait CaddUnsigned: Sized {
type Other;
type Output;
type Error;
// Required method
fn cadd_unsigned(
self,
other: Self::Other,
) -> Result<Self::Output, Self::Error>;
}
Expand description
Checked addition: computes add_unsigned(a, b), returning an error if overflow occured.
See also: module documentation.
Checked addition: computes add_unsigned(a, b), returning an error if overflow occured.
Wrapper for checked_add_unsigned.
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Checked addition: computes add_unsigned(a, b), returning an error if overflow occured.
Wrapper for i8::checked_add_unsigned.
Checked addition: computes add_unsigned(a, b), returning an error if overflow occured.
Wrapper for i16::checked_add_unsigned.
Checked addition: computes add_unsigned(a, b), returning an error if overflow occured.
Wrapper for i32::checked_add_unsigned.
Checked addition: computes add_unsigned(a, b), returning an error if overflow occured.
Wrapper for i64::checked_add_unsigned.