# Trait std::num::wrapping::OverflowingOps [−] [src]

    pub trait OverflowingOps {
        fn overflowing_add(self, rhs: Self) -> (Self, bool);
        fn overflowing_sub(self, rhs: Self) -> (Self, bool);
        fn overflowing_mul(self, rhs: Self) -> (Self, bool);
        fn overflowing_div(self, rhs: Self) -> (Self, bool);
        fn overflowing_rem(self, rhs: Self) -> (Self, bool);
        fn overflowing_neg(self) -> (Self, bool);
        fn overflowing_shl(self, rhs: u32) -> (Self, bool);
        fn overflowing_shr(self, rhs: u32) -> (Self, bool);
    }

Deprecated since 1.7.0

: moved to inherent methods

## Required Methods

### `fn overflowing_add(self, rhs: Self) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

### `fn overflowing_sub(self, rhs: Self) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

### `fn overflowing_mul(self, rhs: Self) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

### `fn overflowing_div(self, rhs: Self) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

### `fn overflowing_rem(self, rhs: Self) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

### `fn overflowing_neg(self) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

### `fn overflowing_shl(self, rhs: u32) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

### `fn overflowing_shr(self, rhs: u32) -> (Self, bool)`

Deprecated since 1.7.0

: moved to inherent methods

## Implementors

- `impl OverflowingOps for i8`
- `impl OverflowingOps for i16`
- `impl OverflowingOps for i32`
- `impl OverflowingOps for i64`
- `impl OverflowingOps for isize`
- `impl OverflowingOps for u8`
- `impl OverflowingOps for u16`
- `impl OverflowingOps for u32`
- `impl OverflowingOps for u64`
- `impl OverflowingOps for usize`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize`)