pub trait CheckedAdd<RHS = Self> {
    type Output;

    fn checked_add(self, other: RHS) -> Option<Self::Output>;
}
Expand description

Adds two numbers, returning None if the result is not representable.

Required Associated Types

Required Methods

Implementations on Foreign Types

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

This is a wrapper over the checked_add functions in the standard library, for example this one.

Implementors