# Trait num_traits::ops::overflowing::OverflowingMul [−] [src]

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

Performs multiplication with a flag for overflow.

## Required methods

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

Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.

Loading content...

## Implementors

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...