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<isize, isize> for isize

source§

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

source§

impl MulAddAssign<u32, u32> for u32

source§

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

source§

impl MulAddAssign<u64, u64> for u64

source§

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

source§

impl MulAddAssign<f32, f32> for f32

source§

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

source§

impl MulAddAssign<u128, u128> for u128

source§

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

source§

impl MulAddAssign<i64, i64> for i64

source§

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

source§

impl MulAddAssign<i16, i16> for i16

source§

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

source§

impl MulAddAssign<f64, f64> for f64

source§

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

source§

impl MulAddAssign<u8, u8> for u8

source§

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

source§

impl MulAddAssign<usize, usize> for usize

source§

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

source§

impl MulAddAssign<u16, u16> for u16

source§

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

source§

impl MulAddAssign<i8, i8> for i8

source§

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

source§

impl MulAddAssign<i128, i128> for i128

source§

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

source§

impl MulAddAssign<i32, i32> for i32

source§

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

Implementors§