pub trait ShlChecked<Rhs: ?Sized = Self> {
    type Output;

    fn shl_checked(&self, rhs: &Rhs) -> Self::Output;
}
Expand description

Binary operator for left shifting a value, checking that the rhs is less than the number of bits in self.

Required Associated Types

Required Methods

Implementors