pub trait WrappingPowAssign<RHS = Self> {
    fn wrapping_pow_assign(&mut self, exp: RHS);
}
Expand description

Raises a number to a power in place, wrapping around at the boundary of the type.

Required Methods

Implementations on Foreign Types

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Raises a number to a power, in place, wrapping around at the boundary of the type.

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

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Implementors