Trait AddMulAssign

Source
pub trait AddMulAssign<Y = Self, Z = Self> {
    // Required method
    fn add_mul_assign(&mut self, y: Y, z: Z);
}
Expand description

Adds a number and the product of two other numbers, in place.

Required Methods§

Source

fn add_mul_assign(&mut self, y: Y, z: Z)

Implementations on Foreign Types§

Source§

impl AddMulAssign for f32

Source§

fn add_mul_assign(&mut self, y: f32, z: f32)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for f64

Source§

fn add_mul_assign(&mut self, y: f64, z: f64)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for i8

Source§

fn add_mul_assign(&mut self, y: i8, z: i8)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for i16

Source§

fn add_mul_assign(&mut self, y: i16, z: i16)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for i32

Source§

fn add_mul_assign(&mut self, y: i32, z: i32)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for i64

Source§

fn add_mul_assign(&mut self, y: i64, z: i64)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for i128

Source§

fn add_mul_assign(&mut self, y: i128, z: i128)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for isize

Source§

fn add_mul_assign(&mut self, y: isize, z: isize)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for u8

Source§

fn add_mul_assign(&mut self, y: u8, z: u8)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for u16

Source§

fn add_mul_assign(&mut self, y: u16, z: u16)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for u32

Source§

fn add_mul_assign(&mut self, y: u32, z: u32)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for u64

Source§

fn add_mul_assign(&mut self, y: u64, z: u64)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for u128

Source§

fn add_mul_assign(&mut self, y: u128, z: u128)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Source§

impl AddMulAssign for usize

Source§

fn add_mul_assign(&mut self, y: usize, z: usize)

Adds the product of two other numbers to a number in place.

$x \gets x + yz$.

§Worst-case complexity

Constant time and additional memory.

§Examples

See here.

Implementors§