pub trait ShlWrapped<Rhs = Self>where
    Rhs: ?Sized,{
    type Output;
    // Required method
    fn shl_wrapped(&self, rhs: &Rhs) -> Self::Output;
}Expand description
Binary operator for left shifting a value, safely continuing past the number of bits in self.
Required Associated Types§
type Output
Required Methods§
fn shl_wrapped(&self, rhs: &Rhs) -> Self::Output
Implementations on Foreign Types§
§impl<E, I, M> ShlWrapped<Integer<E, M>> for Integer<E, I>where
    E: Environment,
    I: IntegerType,
    M: Magnitude,
 
impl<E, I, M> ShlWrapped<Integer<E, M>> for Integer<E, I>where E: Environment, I: IntegerType, M: Magnitude,
§fn shl_wrapped(
    &self,
    n: &Integer<E, M>
) -> <Integer<E, I> as ShlWrapped<Integer<E, M>>>::Output
 
fn shl_wrapped( &self, n: &Integer<E, M> ) -> <Integer<E, I> as ShlWrapped<Integer<E, M>>>::Output
Shifts self to the left by n bits, continuing past the boundary.