pub trait MulAddAssign<A = Self, B = Self> {
    // Required method
    fn mul_add_assign(&mut self, a: A, b: B);
}
Expand description

The fused multiply-add assignment operation *self = (*self * a) + b

Required Methods§

source

fn mul_add_assign(&mut self, a: A, b: B)

Performs the fused multiply-add assignment operation *self = (*self * a) + b

Implementations on Foreign Types§

source§

impl MulAddAssign<i128, i128> for i128

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<u8, u8> for u8

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<i16, i16> for i16

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<u128, u128> for u128

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<i8, i8> for i8

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<f64, f64> for f64

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<f32, f32> for f32

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<u32, u32> for u32

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<usize, usize> for usize

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<u16, u16> for u16

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<isize, isize> for isize

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<i32, i32> for i32

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<u64, u64> for u64

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

source§

impl MulAddAssign<i64, i64> for i64

source§

fn mul_add_assign(&mut self, a: Self, b: Self)

Implementors§