pub trait ShrWrapped<Rhs = Self>where
    Rhs: ?Sized,{
    type Output;

    // Required method
    fn shr_wrapped(&self, rhs: &Rhs) -> Self::Output;
}
Expand description

Binary operator for right shifting a value, safely continuing past the number of bits in self.

Required Associated Types§

Required Methods§

source

fn shr_wrapped(&self, rhs: &Rhs) -> Self::Output

Implementations on Foreign Types§

§

impl<E, I, M> ShrWrapped<Integer<E, M>> for Integer<E, I>where E: Environment, I: IntegerType, M: Magnitude,

§

fn shr_wrapped( &self, n: &Integer<E, M> ) -> <Integer<E, I> as ShrWrapped<Integer<E, M>>>::Output

Shifts self to the right by n bits, continuing past the boundary.

§

type Output = Integer<E, I>

Implementors§