pub trait ShrAssign<Rhs = Self> {
// Required method
fn shr_assign(&mut self, rhs: Rhs);
}
Expand description
The right shift assignment operator >>=
.
§Examples
An implementation of ShrAssign
for a wrapper around usize
.
Required Methods§
1.8.0 · sourcefn shr_assign(&mut self, rhs: Rhs)
fn shr_assign(&mut self, rhs: Rhs)
Performs the >>=
operation.