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)
fn shl_assign(&mut self, rhs: Rhs)
Performs the <<=
operation.