num_traits::ops::saturating - Rust
Description: API documentation for the Rust `saturating` mod in crate `num_traits`.
Keywords: rust, rustlang, rust-lang, saturating

# Module num_traits::ops::saturating

source ·

## Traits

Saturating
Saturating math operations. Deprecated, use `SaturatingAdd`, `SaturatingSub` and `SaturatingMul` instead.
SaturatingAdd
Performs addition that saturates at the numeric bounds instead of overflowing.
SaturatingMul
Performs multiplication that saturates at the numeric bounds instead of overflowing.
SaturatingSub
Performs subtraction that saturates at the numeric bounds instead of overflowing.