pub trait ConstWrappingShr: Sized + ConstOverflowingShr {
// Required method
fn wrapping_shr(&self, rhs: u32) -> Self;
}Expand description
Const-compatible wrapping right shift.
Required Methods§
Sourcefn wrapping_shr(&self, rhs: u32) -> Self
fn wrapping_shr(&self, rhs: u32) -> Self
Wrapping shift right. Shifts, masking the shift amount to the bit width.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".