# Trait num_traits::ops::saturating::SaturatingMul [−] [src]

    pub trait SaturatingMul: Sized + Mul<Self, Output = Self> {
        fn saturating_mul(&self, v: &Self) -> Self;
    }

Performs multiplication that saturates at the numeric bounds instead of overflowing.

## Required methods

### `fn saturating_mul(&self, v: &Self) -> Self` [src]

Saturating multiplication. Computes `self * other`, saturating at the relevant high or low boundary of the type.

Loading content...

## Implementors

### `impl SaturatingMul for i8` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for i16` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for i32` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for i64` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for i128` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for isize` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for u8` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for u16` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for u32` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for u64` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for u128` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

### `impl SaturatingMul for usize` [src]

#### `fn saturating_mul(&self, v: &Self) -> Self` [src]

Loading content...