Trait num_traits::ops::mul_add::MulAddAssign

source ·
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: Self, b: Self)

source§

impl MulAddAssign for f64

source§

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

source§

impl MulAddAssign for i8

source§

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

source§

impl MulAddAssign for i16

source§

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

source§

impl MulAddAssign for i32

source§

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

source§

impl MulAddAssign for i64

source§

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

source§

impl MulAddAssign for i128

source§

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

source§

impl MulAddAssign for isize

source§

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

source§

impl MulAddAssign for u8

source§

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

source§

impl MulAddAssign for u16

source§

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

source§

impl MulAddAssign for u32

source§

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

source§

impl MulAddAssign for u64

source§

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

source§

impl MulAddAssign for u128

source§

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

source§

impl MulAddAssign for usize

source§

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

Implementors§