pub trait ShlAssign<Rhs = Self> {
// Required method
fn shl_assign(&mut self, rhs: Rhs);
}Expand description
The left shift assignment operator <<=.
§Examples
An implementation of ShlAssign for a wrapper around usize.
Required Methods§
1.8.0 · Sourcefn shl_assign(&mut self, rhs: Rhs)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
fn shl_assign(&mut self, rhs: Rhs)
Performs the <<= operation.