pub trait WrappingAddAssign<RHS = Self> {
    fn wrapping_add_assign(&mut self, other: RHS);
}
Expand description

Adds a number to another number in place, wrapping around at the boundary of the type.

Required Methods

Implementations on Foreign Types

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Adds a number to another number in place, wrapping around at the boundary of the type.

$x \gets z$, where $z \equiv x + y \mod 2^W$ and $W$ is Self::WIDTH.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Implementors