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 (const: unstable) ยท Sourcefn shr_assign(&mut self, rhs: Rhs)
fn shr_assign(&mut self, rhs: Rhs)
Performs the >>= operation.
ยงExamples
Dyn Compatibilityยง
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".