pub trait WrappingDivAssign<RHS = Self> {
    // Required method
    fn wrapping_div_assign(&mut self, other: RHS);
}
Expand description

Divides a number by another number in place, wrapping around at the boundary of the type.

Required Methods§

source

fn wrapping_div_assign(&mut self, other: RHS)

Implementations on Foreign Types§

source§

impl WrappingDivAssign for i8

source§

fn wrapping_div_assign(&mut self, other: i8)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for i16

source§

fn wrapping_div_assign(&mut self, other: i16)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for i32

source§

fn wrapping_div_assign(&mut self, other: i32)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for i64

source§

fn wrapping_div_assign(&mut self, other: i64)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for i128

source§

fn wrapping_div_assign(&mut self, other: i128)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for isize

source§

fn wrapping_div_assign(&mut self, other: isize)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for u8

source§

fn wrapping_div_assign(&mut self, other: u8)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for u16

source§

fn wrapping_div_assign(&mut self, other: u16)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for u32

source§

fn wrapping_div_assign(&mut self, other: u32)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for u64

source§

fn wrapping_div_assign(&mut self, other: u64)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for u128

source§

fn wrapping_div_assign(&mut self, other: u128)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

source§

impl WrappingDivAssign for usize

source§

fn wrapping_div_assign(&mut self, other: usize)

Divides a number by another number in place, wrapping around at the boundary of the type.

Wrapping only occurs when Self is signed, self is Self::MIN, and other is -1. The “actual” result, -Self::MIN, can’t be represented and is wrapped back to Self::MIN.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Implementors§