Trait overflower_support::ShrAssignPanic [] [src]

pub trait ShrAssignPanic<RHS = usize> {
    fn shr_assign_panic(&mut self, rhs: RHS);
}

Shift right in place, panic if the number of bits shifted are higher than the width of the type

This does the same as the std::ops::ShrAssign trait for most types. it is specialized for integer types to panic on over- or underflow.

Required Methods

shift right in place, panic if the number of bits shifted are higher than the width of the type

Implementors