snarkvm_console_types_scalar

Trait ShrChecked

Source
pub trait ShrChecked<Rhs = Self>
where Rhs: ?Sized,
{ type Output; // Required method fn shr_checked(&self, rhs: &Rhs) -> Self::Output; }
Expand description

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

Required Associated Types§

Required Methods§

Source

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

Implementors§