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

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

Adds two numbers, saturating at the numeric bounds instead of overflowing.

Required Associated Types

Required Methods

Implementations on Foreign Types

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

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

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

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

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

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

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

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

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

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

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

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

Implementors