MulAssign
The multiplication assignment operator *=
.
Fully qualified path: core::ops::arith::MulAssign
pub trait MulAssign<Lhs, Rhs>
Trait functions
mul_assign
Performs the *=
operation. # Examples
let mut x: u8 = 3;
x *= x;
assert!(x == 9);
Fully qualified path: core::ops::arith::MulAssign::mul_assign
fn mul_assign(ref self: Lhs, rhs: Rhs)