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 for f32

source§

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

source§

impl MulAddAssign for f64

source§

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

source§

impl MulAddAssign for i8

source§

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

source§

impl MulAddAssign for i16

source§

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

source§

impl MulAddAssign for i32

source§

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

source§

impl MulAddAssign for i64

source§

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

source§

impl MulAddAssign for i128

source§

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

source§

impl MulAddAssign for isize

source§

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

source§

impl MulAddAssign for u8

source§

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

source§

impl MulAddAssign for u16

source§

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

source§

impl MulAddAssign for u32

source§

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

source§

impl MulAddAssign for u64

source§

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

source§

impl MulAddAssign for u128

source§

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

source§

impl MulAddAssign for usize

source§

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

Implementors§