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