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